NRV_results

class nrv.backend.NRV_results(context=None)[source]

Results class for NRV

Attributes

NRV_results.is_dummy

Indicate whether the results object is a dummy placeholder.

NRV_results.is_empty

Indicate whether the results contain a declared result type.

NRV_results.to_save

Indicate whether the results object should be serialized.

Methods

NRV_results.__init__([context])

Initialize a results container from a saved context.

NRV_results.clear()

NRV_results.copy()

NRV_results.fromkeys(iterable[, value])

Create a new dictionary with keys from iterable and values set to value.

NRV_results.get(key[, default])

Return the value for key if key is in the dictionary, else default.

NRV_results.get_parameters()

Generic method returning all the atributes of an NRV_class instance

NRV_results.items()

NRV_results.keys()

NRV_results.load(data[, blacklist])

Load the results object from serialized data.

NRV_results.pop(k[,d])

If the key is not found, return the default if given; otherwise, raise a KeyError.

NRV_results.popitem()

Remove and return a (key, value) pair as a 2-tuple.

NRV_results.remove_key([keys_to_remove, ...])

Remove a key or a list of keys from the results

NRV_results.save([save, fname, blacklist])

Save the results object after synchronizing its internal state.

NRV_results.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance

NRV_results.setdefault(key[, default])

Insert key with a value of default if key is not in the dictionary.

NRV_results.update(_NRV_results__m, **kwargs)

overload of dict update method to update both attibute and items

NRV_results.values()