base#
Base class for input/output domains.
Classes#
Base class for input/output domains. |
- class Domain#
Bases:
tmlt.core.utils.format.Formattable,abc.ABCBase class for input/output domains.
- property carrier_type: type#
- Abstractmethod:
- Return type:
Returns the type of elements in the domain.
- validate(value)#
Raises an error if value is not in the domain.
- Parameters:
value (Any)
- Return type:
None
- __contains__(value)#
Returns True if value is in the domain.
- Parameters:
value (Any)
- Return type: