Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Smartappli authored Jun 30, 2024
1 parent 1f6da3d commit e57429d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/util/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def wrapper(*args: Any, **kwargs: Any) -> Any:
if (
previous_instances is not None # Check if previous_instances is not None
and cls in previous_instances
and previous_instances.get(cls).get("args") == (args, kwargs)
and previous_instances[cls].get("args") == (args, kwargs)
):
return previous_instances[cls].get("instance")
else:
Expand Down

0 comments on commit e57429d

Please sign in to comment.