Skip to content

Add intermediate model payload conversion hooks#1655

Draft
tconley1428 wants to merge 2 commits into
mainfrom
nexus-generated-model-wire-converter
Draft

Add intermediate model payload conversion hooks#1655
tconley1428 wants to merge 2 commits into
mainfrom
nexus-generated-model-wire-converter

Conversation

@tconley1428

Copy link
Copy Markdown
Contributor

Adds SDK payload-converter support for generated models that expose _temporal_to_intermediate/_temporal_from_intermediate hooks, and wires system Nexus conversion so nested user payloads use the workflow payload converter context.\n\nValidation:\n- env UV_CACHE_DIR=/private/tmp/nexus-api-gen-uv-cache uv run pyright temporalio/converter temporalio/nexus/system temporalio/worker/_workflow_instance.py tests/nexus/test_temporal_system_nexus.py tests/test_converter.py tests/worker/test_visitor.py\n- env UV_CACHE_DIR=/private/tmp/nexus-api-gen-cache uv run -m pytest tests/test_converter.py::test_temporal_intermediate_payload_converter_wraps_user_converter tests/nexus/test_temporal_system_nexus.py tests/worker/test_visitor.py -q

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.

1 participant