MyModel
Bases: BaseModel
Pydantic model with field descriptions.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
a
|
int
|
Description of a in the docstring |
required |
b
|
float
|
Description of |
42.0
|
c
|
str
|
|
<dynamic>
|
Source code in src/fieldz_docs_example/pydantic.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|