From 756d5ffe5f1557a07a868f764ae3afd7ddeade19 Mon Sep 17 00:00:00 2001 From: bishoy-at-pieces Date: Wed, 18 Dec 2024 20:59:37 +0200 Subject: [PATCH] fix api importing --- _pieces_lib/pieces_os_client/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pieces_lib/pieces_os_client/api_client.py b/_pieces_lib/pieces_os_client/api_client.py index c8e121e..13c7b0c 100644 --- a/_pieces_lib/pieces_os_client/api_client.py +++ b/_pieces_lib/pieces_os_client/api_client.py @@ -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: