temporalio / sdk-python

Temporal Python SDK
MIT License
457 stars 68 forks source link

[Feature Request] Create official Pydantic contrib module #621

Open cretz opened 1 month ago

cretz commented 1 month ago

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: https://github.com/temporalio/samples-python/issues/97), that we should just make a temporalio.contrib.pydantic module as a pydantic extra similar to what we have done with opentelemetry.

It should contain: