-
-
Couldn't load subscription status.
- Fork 8
Open
Labels
featureNew feature or requestNew feature or request
Description
Description of the bug
When using Annotated, pydantic fields do not show up as attributes anymore, have no hyperlink, and the field description is lost
To Reproduce
class ExampleModel(BaseModel):
"""An example model."""
field_with_constraints_and_description: Annotated[
int, Field(default=5, ge=0, le=100, description="Shows constraints within doc string.")
]Full traceback
Expected behavior
I would expect them to show up as attributes with their description.
sarvensis, rreboot, LizaKoch and Zamazka2315
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request