This PR updates the SDK to wrap pickled values in the new dispatch.sdk.python.v1.Pickled container from https://github.com/dispatchrun/dispatch-proto/pull/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.
This PR updates the SDK to wrap pickled values in the new
dispatch.sdk.python.v1.Pickled
container from https://github.com/dispatchrun/dispatch-proto/pull/35, rather than using the built-inBytesValue
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.