morpheus.messages.data_class_prop.DataClassProp
- class DataClassProp(fget=None, fset=None, fdel=None, doc=None, field=None)[source]
Bases:
object
This class is used to configure dataclass fields within message container classes.
- Parameters
- fgettyping.Callable[[typing.Any, str], typing.Any], optional
- fsettyping.Callable[[typing.Any, str, typing.Any], None], optional
- fdeltyping.Callable[[typing.Any, str], typing.Any], optional
- doc_type_, optional
- field_type_, optional
Callable for field getter, by default None.
Callable for field setter, by default None.
This is not used, by default None.
Documentation for field, by default None.
Field value, by default None.