pyaml_cs_oa.types#
Pydantic configuration models for supported control systems.
Classes
|
Configuration for a read-only EPICS process variable. |
|
Configuration for a readable and writable EPICS process variable pair. |
|
Configuration for a write-only EPICS process variable. |
|
Configuration for a Tango attribute. |
- class pyaml_cs_oa.types.EpicsConfigR(*, read_pvname, timeout_ms=3000, index=None, unit='')#
Bases:
BaseModelConfiguration for a read-only EPICS process variable.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pyaml_cs_oa.types.EpicsConfigRW(*, read_pvname, write_pvname, timeout_ms=3000, range=None, index=None, unit='')#
Bases:
BaseModelConfiguration for a readable and writable EPICS process variable pair.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pyaml_cs_oa.types.EpicsConfigW(*, write_pvname, timeout_ms=3000, range=None, index=None, unit='')#
Bases:
BaseModelConfiguration for a write-only EPICS process variable.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pyaml_cs_oa.types.TangoConfigAtt(*, attribute, timeout_ms=3000, range=None, index=None, unit='')#
Bases:
BaseModelConfiguration for a Tango attribute.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].