diff --git a/packages/syft/src/syft/service/sync/diff_state.py b/packages/syft/src/syft/service/sync/diff_state.py index f943174d75a..f7cc88af13f 100644 --- a/packages/syft/src/syft/service/sync/diff_state.py +++ b/packages/syft/src/syft/service/sync/diff_state.py @@ -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: