[FEATURE] Option to hide default value when its type is pydantic.BaseModel
#149
Labels
duplicate
This issue or pull request already exists
pydantic.BaseModel
#149
Hi,
Whenever describing a model with
autopydantic_model
, I want default values to be shown.However, some fields of the model point to another model (which inherits
pydantic.BaseModel
).That results in that model’s representation (along with all its fields and subfields) being shown as a default value, spawning several lines.
I would like to somehow disable that behaviour, as I can already click on the hyperlinked type of that problematic field to learn about its own fields.
Hope it’s clear,
Thanks!
The text was updated successfully, but these errors were encountered: