jade.models.get_model_defaults

jade.models.get_model_defaults(model_class: BaseModel)[source]

Return the default values for fields in a Pydantic BaseModel. If a field doesn’t have a default then return None. Default values may also be None.

Return type:

dict