-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this 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 💯 🎉
if set_result.is_err(): | ||
return set_result.err() | ||
|
||
if len(code_item.output_policy.output_readers) > 0: |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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
No description provided.