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

Wrap pickled values in dispatch.sdk.python.v1 container #177

Merged
merged 7 commits into from
Jun 13, 2024

Conversation

chriso
Copy link
Contributor

@chriso chriso commented Jun 13, 2024

This PR updates the SDK to wrap pickled values in the new dispatch.sdk.python.v1.Pickled container from dispatchrun/dispatch-proto#35, rather than using the built-in BytesValue proto message.

This PR also updates the SDK to use the new typed_coroutine_state field to hold pickled state.

These changes will allow observers (e.g. the CLI) to disambiguate pickled values from other bytes sent across the wire.

@chriso chriso self-assigned this Jun 13, 2024
@chriso chriso merged commit 4a344ad into main Jun 13, 2024
7 checks passed
@chriso chriso deleted the bytes-containers branch June 13, 2024 05:46
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