We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd6d7c commit 4d3fe82Copy full SHA for 4d3fe82
templates/python/model_generic.mustache
@@ -70,14 +70,13 @@ class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}
70
{{/vars}}
71
72
model_config = ConfigDict(
73
+ strict=False,
74
use_enum_values=True,
75
populate_by_name=True,
76
validate_assignment=True,
77
protected_namespaces=(),
78
alias_generator=_alias_generator,
- {{#isAdditionalPropertiesTrue}}
79
extra='allow',
80
- {{/isAdditionalPropertiesTrue}}
81
)
82
83
def to_json(self) -> str:
0 commit comments