Skip to content

Commit

Permalink
fix import error in the api client
Browse files Browse the repository at this point in the history
  • Loading branch information
Bishoy-at-pieces committed Oct 10, 2024
1 parent 625a9ac commit 07f76b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pieces_lib/pieces_os_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def __deserialize(self, data, klass):
# 'XMLHttpRequest' -> 'xml_http_request'

# Import the class
module = importlib.import_module(f"pieces_os_client.models.{snake_case}")
module = importlib.import_module(f"Pieces._pieces_lib.pieces_os_client.models.{snake_case}")
klass = getattr(module, klass)

if klass in self.PRIMITIVE_TYPES:
Expand Down

0 comments on commit 07f76b9

Please sign in to comment.