Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propagate outputs to shareholders on enclaves #7955

Merged
merged 8 commits into from
Jul 20, 2023

Conversation

koenvanderveen
Copy link
Collaborator

No description provided.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@shubham3121 shubham3121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work @koenvanderveen !!
This makes the code much more clean and readable 💯 🎉

packages/syft/src/syft/client/enclave_client.py Outdated Show resolved Hide resolved
if set_result.is_err():
return set_result.err()

if len(code_item.output_policy.output_readers) > 0:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏾

)


def syft_function(
input_policy: Union[InputPolicy, UID],
output_policy: Optional[Union[OutputPolicy, UID]] = None,
share_results_with_owners=False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make it True by default because this is something that DS controls ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

irina suggested False, I agree. In theory the output still could be data that is sensitive for the data owners so I would not have it on by default

@koenvanderveen koenvanderveen enabled auto-merge July 20, 2023 09:20
@koenvanderveen koenvanderveen merged commit 6e9b90b into dev Jul 20, 2023
@koenvanderveen koenvanderveen deleted the propagate-results-enclaves branch July 20, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants