Skip to main content

variables

superduper.base.variables

Source code

Variable​

Variable(self,
identifier: str,
db: dataclasses.InitVar[typing.Optional[ForwardRef('Datalayer')]] = None,
uuid: str = None) -> None
ParameterDescription
identifierIdentifier of the leaf.
dbDatalayer instance.
uuidUUID of the leaf.

Mechanism for allowing "free variables" in a leaf object.

The idea is to allow a variable to be set at runtime, rather than at object creation time.

VariableError​

VariableError(self,
/,
*args,
**kwargs)
ParameterDescription
args*args for Exception.
kwargs**kwargs for Exception.

Variable error.