From da0ad76425655ae6fedf3131e6d0aa2d48d87576 Mon Sep 17 00:00:00 2001 From: afernand Date: Wed, 17 Jan 2024 16:17:17 +0100 Subject: [PATCH] revert necessary unused parameters --- src/ansys/rocky/core/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ansys/rocky/core/client.py b/src/ansys/rocky/core/client.py index 32834b79..1f4431da 100644 --- a/src/ansys/rocky/core/client.py +++ b/src/ansys/rocky/core/client.py @@ -73,7 +73,7 @@ def CallProxy(*args, **kwargs): return CallProxy @classmethod - def deserialize(cls, serialized: dict) -> "_ApiElementProxy": + def deserialize(cls, classname: str, serialized: dict) -> "_ApiElementProxy": """Deserialize an API Element Proxy object. Parameters @@ -89,7 +89,7 @@ def deserialize(cls, serialized: dict) -> "_ApiElementProxy": return cls(_ROCKY_API, serialized["_api_element_id"]) @classmethod - def serialize(cls, obj) -> dict: + def serialize(cls, classname: str, obj) -> dict: """Serialize an API Element Proxy object. Parameters @@ -123,7 +123,7 @@ def __delitem__(self, index: int) -> None: self._pyro_api.SendToSubject(self._pool_id, "__delitem__", index) -def deserialize_api_error(serialized): +def deserialize_api_error(classname: str, serialized: dict) -> RockyApiError: """Deserialize an API Error. Parameters @@ -139,7 +139,7 @@ def deserialize_api_error(serialized): return RockyApiError(serialized["message"]) -def deserialize_numpy(serialized): +def deserialize_numpy(classname, serialized) -> "Any": """Deserialize a numpy array. Parameters