From eb506bf29985a5d1f893a2deb301db4e60af5754 Mon Sep 17 00:00:00 2001 From: p-fruck Date: Sat, 19 Mar 2022 18:21:09 +0000 Subject: [PATCH] update to latest API spec --- pfruck_contabo/model_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfruck_contabo/model_utils.py b/pfruck_contabo/model_utils.py index fd640be..eb3f1be 100644 --- a/pfruck_contabo/model_utils.py +++ b/pfruck_contabo/model_utils.py @@ -193,7 +193,7 @@ def __copy__(self): if self.get("_spec_property_naming", False): return cls._new_from_openapi_data(**self.__dict__) else: - return new_cls.__new__(cls, **self.__dict__) + return cls.__new__(cls, **self.__dict__) def __deepcopy__(self, memo): cls = self.__class__