Skip to content

Commit

Permalink
Merge branch 'dev' into aziz/setup_python_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abyesilyurt authored Jun 10, 2024
2 parents de89761 + 28f29ba commit 5e5ab7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/syft/src/syft/service/sync/diff_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ def object_id(self) -> UID:

@property
def non_empty_object(self) -> SyftObject | None:
return self.low_obj or self.high_obj
if self.low_obj is not None:
return self.low_obj
else:
return self.high_obj

@property
def object_type(self) -> str:
Expand Down

0 comments on commit 5e5ab7e

Please sign in to comment.