Skip to content

Commit

Permalink
revert necessary unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroFernandezLuces committed Jan 17, 2024
1 parent a068787 commit da0ad76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ansys/rocky/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit da0ad76

Please sign in to comment.