Skip to content

Commit

Permalink
Update syft_object.py
Browse files Browse the repository at this point in the history
Fix E721
  • Loading branch information
Smartappli authored Dec 1, 2024
1 parent c876d60 commit ad939c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/types/syft_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def refresh(self) -> None:
new_object = api.services.migration._get_object(
uid=self.id, object_type=type(self)
)
if type(new_object) == type(self):
if type(new_object) is type(self):
self.__dict__.update(new_object.__dict__)
except Exception as _:
return
Expand Down

0 comments on commit ad939c6

Please sign in to comment.