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

Fix sync jobs #8746

Merged
merged 6 commits into from Apr 25, 2024
Merged

Fix sync jobs #8746

merged 6 commits into from Apr 25, 2024

Conversation

teo-milea
Copy link
Member

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist


exec_result = custom_endpoint.exec(context, *args, **kwargs)

if isinstance(exec_result, SyftError):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lets add types for these in our Tech Debt cycle, the user should be able to return UserSyftErrors that we can pass back as "good" results.

Also making it so they don't need to import syft as sy or other things in their code would be good.

@madhavajay madhavajay self-requested a review April 25, 2024 01:49
Copy link
Collaborator

@madhavajay madhavajay left a comment

Choose a reason for hiding this comment

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

LGTM!!!

@madhavajay madhavajay merged commit fa25b49 into dev Apr 25, 2024
35 checks passed
@madhavajay madhavajay deleted the fix_sync_jobs branch April 25, 2024 01:49
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.

None yet

2 participants