Skip to content

Commit

Permalink
Fix inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
foarsitter committed Sep 22, 2023
1 parent 17d681f commit d6d3364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/requestmodel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def request_args_for_values(

skip_properties = ["url", "method", "response_model", "body"]

for k, v in self.__annotations__.items():
for k, v in self.model_dump().items():

if k in skip_properties:
continue
Expand Down

0 comments on commit d6d3364

Please sign in to comment.