saealib.core.contracts.RepresentationSpec#

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

Bases: 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.

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 Fixed bindings wrapping plain Python scalars.

Methods

Method Details

RepresentationSpec.__init__(*, kind, parameters=<factory>)#
Parameters:
  • kind (str)

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

Return type:

None