saealib.core.contracts.RepresentationSpec#
- class saealib.core.contracts.RepresentationSpec(*, kind, parameters=<factory>)[ソース]#
ベースクラス:
objectA concrete representation: a registered kind name plus its parameters.
This is the value that binds the
representationschema variable declared inSCHEMA_VARIABLES.- パラメータ:
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>)#
- パラメータ:
kind (str)
parameters (tuple[ParameterSpec, ...])
- 戻り値の型:
None