(Latest Version)

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

Callable for field getter, by default None.

fsettyping.Callable[[typing.Any, str, typing.Any], None], optional

Callable for field setter, by default None.

fdeltyping.Callable[[typing.Any, str], typing.Any], optional

This is not used, by default None.

doc_type_, optional

Documentation for field, by default None.

field_type_, optional

Field value, by default None.

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.