Skip to content

Commit

Permalink
rm unnecessary early continue
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Oct 10, 2023
1 parent 5b4be09 commit 1d73630
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ def __init__(self, **config_dict) -> None:
for key, value in config_dict.items():
field = self.__fields__.get(key)

if field and not field.required and value is None:
continue

if field and field.field_info.discriminator:
nested_dict = value

Expand Down

0 comments on commit 1d73630

Please sign in to comment.