saealib.core.contracts.RepresentationSpec#
- class saealib.core.contracts.RepresentationSpec(*, kind, parameters=<factory>)[source]#
Bases:
objectA concrete representation: a registered kind name plus its parameters.
This is the value that binds the
representationschema variable declared inSCHEMA_VARIABLES.- Parameters:
kind (str) – A name registered in
REPRESENTATION_KINDS.parameters (tuple[ParameterSpec, ...]) – Concrete parameter values for the kind. In a concrete spec the parameter values are typically
Fixedbindings wrapping plain Python scalars.
Methods
Method Details
- RepresentationSpec.__init__(*, kind, parameters=<factory>)#
- Parameters:
kind (str)
parameters (tuple[ParameterSpec, ...])
- Return type:
None