Compare commits

...
Author SHA1 Message Date
Rafid SaadandGitHub 9accc21f0f Merge branch 'main' into fix/add-assistant-id-to-auth-types 2026-02-05 11:49:57 -08:00
rafid saad ad75ffdd8d Add missing fields 2026-02-03 13:30:01 -08:00
rafid saad 85a311087d Add assistant ID 2026-02-03 13:25:56 -08:00
rafid saad cf5c64590b Merge branch 'main' of github.com:langchain-ai/langgraph into rafid/lsd-1115-add-patch-method 2026-02-03 10:53:04 -08:00
rafid saad fa1cf5bc0f Replace patch with update 2026-02-03 10:51:45 -08:00
rafid saad 36f94ba038 Merge branch 'rafid/lsd-1115-add-patch-method' of github.com:langchain-ai/langgraph into rafid/lsd-1115-add-patch-method 2026-02-03 10:50:40 -08:00
rafid saad eaf0d0cf10 Replace patch with update 2026-02-03 10:50:25 -08:00
William Fu-Hinthorn 4b19e2f51c merge 2026-02-03 10:39:50 -08:00
rafid saad a49d999ef9 add patch method 2026-02-03 09:10:55 -08:00
rafid saad e6f66c5949 Address linting issue 2026-02-02 17:59:15 -08:00
rafid saad a4a28e908d Address comments 2026-02-02 17:50:52 -08:00
rafid saad 7ff8141438 Merge branch 'rafid/lsd-1115-make-sdk-updates' of github.com:langchain-ai/langgraph into rafid/lsd-1115-make-sdk-updates 2026-02-02 17:43:52 -08:00
rafid saad 5ddcb3e27c Merge branch 'main' of github.com:langchain-ai/langgraph into rafid/lsd-1115-make-sdk-updates 2026-02-02 17:43:24 -08:00
rafid saad a2f5e8c558 feat: adding support for enabling/disabling cron in sdk-py 2026-02-02 17:43:12 -08:00
rafid saad 0a820b908b Fix linting issue 2026-02-02 17:42:08 -08:00
rafid saad 49299465c7 add test case 2026-02-02 17:34:38 -08:00
rafid saad ca9b3c6ff6 Add enabled to the client 2026-02-02 17:29:58 -08:00
rafid saad 65648e2019 Change is_enabled to enabled 2026-02-02 16:59:44 -08:00
rafid saad cfc595ac62 Update schema 2026-02-02 16:34:02 -08:00
+14 -2
View File
@@ -737,16 +737,21 @@ class CronsCreate(typing.TypedDict, total=False):
```python
create_params = {
"assistant_id": UUID("123e4567-e89b-12d3-a456-426614173999")
"payload": {"key": "value"},
"schedule": "0 0 * * *",
"cron_id": UUID("123e4567-e89b-12d3-a456-426614174000"),
"thread_id": UUID("123e4567-e89b-12d3-a456-426614174001"),
"user_id": "user123",
"end_time": datetime(2024, 3, 16, 10, 0, 0)
"end_time": datetime(2024, 3, 16, 10, 0, 0),
"enabled": true,
}
```
"""
assistant_id: UUID
"""Unique identifier for the assistant."""
payload: dict[str, typing.Any]
"""Payload for the cron job."""
@@ -765,6 +770,9 @@ class CronsCreate(typing.TypedDict, total=False):
end_time: datetime | None
"""typing.Optional end time for the cron job."""
enabled: bool | None
"""typing.Optional enabled status of the cron job."""
class CronsDelete(typing.TypedDict):
"""Payload for deleting a cron job.
@@ -807,7 +815,8 @@ class CronsUpdate(typing.TypedDict, total=False):
update_params = {
"cron_id": UUID("123e4567-e89b-12d3-a456-426614174000"),
"payload": {"key": "value"},
"schedule": "0 0 * * *"
"schedule": "0 0 * * *",
"enabled": true
}
```
"""
@@ -821,6 +830,9 @@ class CronsUpdate(typing.TypedDict, total=False):
schedule: str | None
"""typing.Optional schedule to update."""
enabled: bool | None
"""typing.Optional enabled status of the cron job."""
class CronsSearch(typing.TypedDict, total=False):
"""Payload for searching cron jobs.