Skip to content

Commit

Permalink
Remove left-over comments
Browse files Browse the repository at this point in the history
  • Loading branch information
itstauq committed Jun 26, 2024
1 parent 32861ff commit 33710e8
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions packages/syft/src/syft/service/project/distributed_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,25 +168,6 @@ def request_execution(self, blocking: bool = True) -> Any:
print(assets_transferred.message)

result_parts = []
# errors = []
# for client in self.clients.values():
# result = client.api.services.enclave.request_execution(
# user_code_id=self.code.id
# )
# if isinstance(result, SyftError):
# errors.append(result.message)
# else:
# result_parts.append(result)

# # TODO reconstruct the result from the parts and return
# # TODO Cleanup the Enclave in owner domain node
# if errors:
# return SyftError(
# message=f"One or more errors occurred: {', '.join(errors)}"
# )
# else:
# return result_parts[0]

for client in self.clients.values():
result = client.api.services.enclave.request_execution(
user_code_id=self.code.id
Expand Down

0 comments on commit 33710e8

Please sign in to comment.