You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A JSON encoding payload converter that works with Pydantic models to/from JSON
A default payload converter that puts Pydantic converter just above the default JSON encoding payload converter in the list
A default data converter using that default payload converter
Some way to solve the datetime issue mentioned in the sample's README (maybe just a built-in Pydantic-safe worker runner that customizes the sandbox for them if there's no better way)
We might also want the converter to warn if it can when it sees a Pydantic datetime and the fix is not enabled in the sandbox and there's no better way to fix the issue
The text was updated successfully, but these errors were encountered:
@cretz Is there any movement on this?
I almost passed on Temporal in favor of FastStream and Tasik because of the relative friction of using the Python SDK in comparison.
Describe the solution you'd like
Pydantic is popular/common enough and people are struggling with https://github.com/temporalio/samples-python/tree/main/pydantic_converter enough (or just that we haven't shown V2 yet: temporalio/samples-python#97), that we should just make a
temporalio.contrib.pydantic
module as apydantic
extra similar to what we have done withopentelemetry
.It should contain:
The text was updated successfully, but these errors were encountered: