[PR #6876] feat(sdk-py): add stream_mode, stream_subgraphs, stream_resumable, durability to crons #5370

Closed
opened 2026-02-20 17:51:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6876

State: closed
Merged: Yes


Summary

  • Adds stream_mode, stream_subgraphs, stream_resumable, and durability parameters to cron create, create_for_thread, and update methods in both async and sync clients
  • Adds corresponding fields to the CronUpdate TypedDict in schema.py
  • Adds checkpoint_during deprecation warnings to cron create methods (consistent with the runs client pattern)

These fields were added to the OpenAPI spec in langgraph-api but were not yet reflected in the Python SDK.

Test plan

  • make format passes
  • make lint passes
  • make test passes (69/69, including sync/async API parity test)
**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6876 **State:** closed **Merged:** Yes --- ## Summary - Adds `stream_mode`, `stream_subgraphs`, `stream_resumable`, and `durability` parameters to cron `create`, `create_for_thread`, and `update` methods in both async and sync clients - Adds corresponding fields to the `CronUpdate` TypedDict in `schema.py` - Adds `checkpoint_during` deprecation warnings to cron create methods (consistent with the runs client pattern) These fields were added to the OpenAPI spec in langgraph-api but were not yet reflected in the Python SDK. ## Test plan - [x] `make format` passes - [x] `make lint` passes - [x] `make test` passes (69/69, including sync/async API parity test)
yindo added the pull-request label 2026-02-20 17:51:36 -05:00
yindo closed this issue 2026-02-20 17:51:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#5370