From 219cded25d01f10e6a0a4d8fea8b872b856eed2d Mon Sep 17 00:00:00 2001 From: Martin Golasowski Date: Wed, 17 Jan 2024 12:48:03 +0100 Subject: [PATCH] Fix package name - swagger_client to heappeac_v4 --- heappeac_v4/api_client.py | 2 +- heappeac_v4/configuration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heappeac_v4/api_client.py b/heappeac_v4/api_client.py index d3b9683..859311c 100644 --- a/heappeac_v4/api_client.py +++ b/heappeac_v4/api_client.py @@ -257,7 +257,7 @@ def __deserialize(self, data, klass): if klass in self.NATIVE_TYPES_MAPPING: klass = self.NATIVE_TYPES_MAPPING[klass] else: - klass = getattr(swagger_client.models, klass) + klass = getattr(heappeac_v4.models, klass) if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) diff --git a/heappeac_v4/configuration.py b/heappeac_v4/configuration.py index 03a2aca..77387e5 100644 --- a/heappeac_v4/configuration.py +++ b/heappeac_v4/configuration.py @@ -63,7 +63,7 @@ def __init__(self): self.password = "" # Logging Settings self.logger = {} - self.logger["package_logger"] = logging.getLogger("swagger_client") + self.logger["package_logger"] = logging.getLogger("heappeac_v4") self.logger["urllib3_logger"] = logging.getLogger("urllib3") # Log format self.logger_format = '%(asctime)s %(levelname)s %(message)s'