DocEnumItem
ClassDataClassSource
DocEnumItem(name: str, type: str, value: str = "", descr: str = "")
The docstring of an enum item.
Fields
| Name | Type | Required | |
|---|---|---|---|
name | str | The name of the enum item. | |
type | str | The type of the enum item. It is usually the typehint (annotation). | |
value | str | The formatted value of the enum item. | |
descr | str | The docstring of the enum item, it is defined in codes. |