Skip to content

Commit

Permalink
fix api importing
Browse files Browse the repository at this point in the history
  • Loading branch information
bishoy-at-pieces committed Dec 18, 2024
1 parent 60d8211 commit 756d5ff
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 @@ -384,7 +384,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 756d5ff

Please sign in to comment.