Field

Field(description: str)

Represents a description field for use in type annotations.

This class is used to store a description for an annotated field, often used for documenting or validating fields in a context or data model.

Initializes the Field with a description.

Parameters:
NameDescription
descriptionThe description text for the field.

Type: str

Instance Attributes

description