saealib.core.contracts.RepresentationSpec#

class saealib.core.contracts.RepresentationSpec(*, kind, parameters=<factory>)[ソース]#

ベースクラス: object

A concrete representation: a registered kind name plus its parameters.

This is the value that binds the representation schema variable declared in SCHEMA_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 Fixed bindings wrapping plain Python scalars.

Methods

Method Details

RepresentationSpec.__init__(*, kind, parameters=<factory>)#
パラメータ:
  • kind (str)

  • parameters (tuple[ParameterSpec, ...])

戻り値の型:

None