Skip to content

Commit

Permalink
try putting __base__ back in
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Nov 25, 2024
1 parent ef2fa73 commit 56ba715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mp_api/client/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ def _generate_returned_model(self, doc):
"MPDataDoc",
fields_not_requested=(list[str], unset_fields),
**include_fields,
__base__=self.document_model,
)

def new_repr(self) -> str:
Expand Down

0 comments on commit 56ba715

Please sign in to comment.