Skip to content

Conversation

@v1gnesh
Copy link

@v1gnesh v1gnesh commented Dec 6, 2025

Summary

Adds documentation for msgspec support in the Python SDK serialization guide.

Accompanying Python SDK PR: restatedev/sdk-python#154
Note: After seeing your follow-up fixes on the above PR, I deleted my forks, and accidentally deleted my fork of docs-restate also, closing #98.
So this is a recreation of the docs PR.

Changes

  • snippets/python/src/develop/serialization.py - Added msgspec code examples (Package, CompletedPackage, ship handler)
  • docs/develop/python/serialization.mdx - Added msgspec section after Pydantic (follows same structure: restate-sdk[serde] installation, usage, OpenAPI integration)

@gvdongen
Copy link
Collaborator

Hi @v1gnesh,

Thank you for the contribution! Looks good. I think you might still need to do uv add msgspec in the python snippets.
Once you've added that, we can merge it. Thank you!

@v1gnesh
Copy link
Author

v1gnesh commented Dec 18, 2025

@gvdongen Oh?
It was added to pyproject.toml via the serde extra here - https://github.com/restatedev/sdk-python/pull/154/files; and then in this doc PR, restate-sdk[serde] is mentioned.

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