unitelabs.cdk.sila.unobservable_property
Packages
Classes
UnobservableProperty
- Decorators
- dataclasses.dataclass
Methods
__init__(
- self,
- identifier : str,
- display_name : str,
- description : str,
- errors : list[type[DefinedExecutionError]]
Parameters
- Name
self
- Type
- Default
- Description
- Name
identifier
- Type
- str
- Default
- = ''
- Description
- Name
display_name
- Type
- str
- Default
- = ''
- Description
- Name
description
- Type
- str
- Default
- = ''
- Description
- Name
errors
- Type
- list[type[DefinedExecutionError]]
- Default
- Description
__call__(self, function : typing.Callable) -> None
Parameters
- Name
self
- Type
- Default
- Description
- Name
function
- Type
- typing.Callable
- Default
- Description
attach(self, feature : sila.server.Feature, function : typing.Callable) -> None
Parameters
- Name
self
- Type
- Default
- Description
- Name
feature
- Type
- sila.server.Feature
- Default
- Description
- Name
function
- Type
- typing.Callable
- Default
- Description
Attributes
- Name
identifier
- Type
- str
- Value
= ''
- Description
- Name
display_name
- Type
- str
- Value
= ''
- Description
- Name
description
- Type
- str
- Value
= ''
- Description
- Name
errors
- Type
- list[type[DefinedExecutionError]]
- Value
= dataclasses.field(default_factory=list)
- Description