ewokscore.variable#

Functions

data_proxy_from_varinfo(uhash_source, varinfo)

param uhash_source:

value_from_transfer(data[, varinfo])

Meant for task schedulers that pass data (see VariableContainer.variable_transfer_*)

variable_from_transfer(data[, varinfo])

Meant for task schedulers that pass data (see VariableContainer.variable_transfer_data)

Classes

MutableVariableContainer([value, varinfo, ...])

An mutable mapping of variable identifiers (str or int) to variables (Variable).

ReadOnlyVariableContainerNamespace(container)

Expose getting variable values through attributes and indexing

Variable([value, metadata, varinfo, ...])

Has a runtime value (python object) and a persistent value (disk or memory).

VariableContainer([value, varinfo, ...])

An immutable mapping of variable identifiers (str or int) to variables (Variable).

VariableContainerMissingNamespace(container)

Expose missing variable values through attributes and indexing

VariableContainerNamespace(container)

Expose getting and setting variable values through attributes and indexing

Exceptions

MissingVariableError

ReadOnlyVariableError