mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
linting
This commit is contained in:
parent
28e1e76cb7
commit
5b9c8368d6
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ def adjust_model_defaults(
|
|||
and field_info.description is not None
|
||||
):
|
||||
field_kwargs["description"] = field_info.description
|
||||
|
||||
|
||||
# If the original field had a default_factory and we're not explicitly overriding with a value,
|
||||
# preserve the default_factory
|
||||
if field_info.default_factory is not None and defaults_dict[name] is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue