William FH and GitHub
d73902ae76
feat(sdk-py): Count endpoints ( #5986 )
2025-08-21 18:15:52 +00:00
William FH and GitHub
3488eb2a2c
chore(sdk-py): Update types ( #5939 )
2025-08-18 18:29:07 +00:00
wakita181009 and GitHub
875f20ba9f
feat(sdk-py): define aclose method to LangGraphClient ( #5931 )
...
This PR adds an aclose method to the LangGraphClient.
When using the client in a FastAPI application, it's common to share a
single instance across the application's lifespan. The absence of an
aclose method makes it difficult to gracefully close the underlying HTTP
session on application shutdown. This change enables proper resource
management by allowing the client to be closed cleanly.
2025-08-18 11:22:02 -07:00
William FH and GitHub
723d4641b0
chore(sdk-py): Update params type in SDK ( #5937 )
2025-08-18 17:53:20 +00:00
William FH and GitHub
9918488169
feat(sdk-py): client qparams ( #5918 )
...
And add linting & dyanmic version string
2025-08-18 10:05:24 -07:00
William FH and GitHub
0cd8745aad
feat(sdk-py): Select-statement ( #5933 )
2025-08-18 06:42:01 -07:00
Sydney Runkle and GitHub
9e3cb1f034
feat(sdk-py): sdk support for context API ( #5566 )
...
Adding support for the `context` arg to `invoke/stream` to the sdk. This
is paired with an update to the API as well that adds `context` support
to the `assistants` and `runs` endpoints.
Bumping version to v0.2.0 on the `v1` branch given this and the
interrupt schema changes.
2025-07-22 10:48:12 -04:00
Sydney Runkle and GitHub
d1f0799002
Merge branch 'main' into v1
2025-07-21 14:35:13 -04:00
Sydney Runkle and GitHub
819eae891e
feat(sdk-py): add interrupts to ThreadState ( #5603 )
2025-07-21 16:33:00 +00:00
Sydney Runkle and GitHub
03bec97767
feat(sdk-py): add interrupts to thread state ( #5580 )
2025-07-20 23:46:38 +00:00
Sydney Runkle
c6d674cd3e
Merge branch 'main' into v1
2025-07-16 18:32:07 -04:00
William FH and GitHub
e315fb7397
feat(sdk-py): Show is_studio_user ( #5505 )
2025-07-14 16:55:32 -07:00
Sydney Runkle and GitHub
d1710e2eac
change[langgraph]: clean up Interrupt interface for v1 ( #5405 )
2025-07-09 14:03:08 -04:00
lc-arjun and GitHub
16250fe038
chore: update api ref docs and fix schemas ( #5219 )
2025-06-26 17:41:03 -07:00
lc-arjun and GitHub
4a26ca5bc2
feat: crons sorting sdk ( #5197 )
...
* feat: crons sorting sdk
* update sync clients
* lock file
* lock file
* lock file
2025-06-26 11:27:44 -07:00
Nuno Campos
417103066b
Lint
2025-06-16 09:29:03 -07:00
Sydney Runkle and GitHub
5e7566f4a3
lint: use pep 604 union syntax and pep 585 generic syntax ( #4963 )
...
* new union syntax
* fix test
* second round of conversions by injecting future annotations
* format + add top level makefile
2025-06-04 21:50:16 -04:00
Tat Dat Duong
9c1267af1a
Import re
2025-05-22 00:03:41 +02:00
Tat Dat Duong
e0a4420b8e
feat(sdk-py): resumable streams
2025-05-22 00:03:41 +02:00
Sydney Runkle and GitHub
228a08b966
ci: migrate to uv! ( #4698 )
...
* Migrate to `uv`
* Format `pyproject.toml` files properly
* Remove upper bounds on dependencies, and bounds on dev dependencies
(we should be using latest)
* Move to hatch for packaing
In the future we should:
* Set up dependabot / automate lockfile updates and tests
* Add tests for min compatible versions (I'll do this right after merge)
* Use dynamic versioning
* Bump `pydantic` to v2.11.4 in the lockfile, we have some tests failing
2025-05-15 17:39:14 -07:00
William FH and GitHub
bed5f80e2c
Optionally use loop-safe asgi transport ( #4668 )
2025-05-12 19:31:44 -07:00
William FH and GitHub
e507f0b991
feat: Customize timeouts in get_client ( #4622 )
2025-05-09 10:07:35 -07:00
William FH and GitHub
10b1676d0b
Update python SDK docstrings ( #4602 )
2025-05-08 14:37:26 -07:00
Nuno Campos
365dd5f459
sdk-py: Prefix private functions in sdk with _
2025-05-05 14:43:34 -07:00
William FH and GitHub
d6e20e6d09
Add missing 'running' RunStatus ( #4508 )
2025-05-02 05:36:58 +00:00
Sydney Runkle
94994a8d99
meaningless commit to get vercel going sigh
2025-05-01 13:50:55 -04:00
Sydney Runkle
0f96441a7c
docstrings for sdk-py
2025-05-01 13:40:39 -04:00
William FH and GitHub
9a5b602287
Add checkpoint_during for the SDKs ( #4487 )
2025-04-30 15:56:29 -07:00
lc-arjun and GitHub
03c34bf2cf
feat: assistants sorting sdk spec ( #4484 )
2025-04-30 17:05:37 -04:00
lc-arjun and GitHub
7486adabdf
fix: threads search sorting defaults ( #4365 )
...
Removes default from https://github.com/langchain-ai/langgraph/pull/4362
2025-04-21 20:49:16 -04:00
lc-arjun and GitHub
90f7f776cf
feat: threads sorting sdk spec ( #4362 )
2025-04-21 14:42:43 -07:00
William FH and GitHub
30f9bcd8de
Make docstring even less ambiguous ( #4308 )
2025-04-16 23:39:04 +00:00
6e54f74fa9
sdk-py: Add option to set description via client sdk ( #4147 )
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2025-04-02 21:26:14 +00:00
William Fu-Hinthorn
4c74af606f
Update auth user type
2025-03-27 16:03:11 -07:00
Eugene Yurtsev and GitHub
5d7e818882
sdk: Add headers to sync client ( #4012 )
...
Add ability to pass run time headers to the sync client.
2025-03-25 14:58:33 -04:00
Eugene Yurtsev and GitHub
c598fee7d6
sdk-py: Propagate headers in the async client ( #4001 )
...
Propagate headers in the async client
2025-03-24 16:30:40 -04:00
Eugene Yurtsev and GitHub
addb491cfd
sdk: allow specifying run time headers in http client ( #4000 )
...
This PR only allows this in the HTTP client.
I can follow up with a PR to allow throughout the entire API.
The use case is to allow instantiating the client once (w/ a single connection pool), but allowing changing api keys and any other headers at run time
2025-03-24 14:47:35 -04:00
Tat Dat Duong
6dfed31a5e
Update parameters
2025-03-19 21:39:35 +01:00
Tat Dat Duong
1f0348a5ca
Fix docstring
2025-03-19 21:07:07 +01:00
Tat Dat Duong
e779c8e0b1
Merge into create
2025-03-19 20:42:48 +01:00
Tat Dat Duong
972ab1a935
Revert docstring for update_state
2025-03-19 20:22:05 +01:00
Tat Dat Duong
a2d7631f47
Fix in async client
2025-03-19 20:10:42 +01:00
Tat Dat Duong
1e767c0653
feat(sdk): add bulk_update_state in SDK
2025-03-19 20:05:08 +01:00
William Fu-Hinthorn
8729ebc40c
Merge
2025-03-13 09:37:47 -07:00
William Fu-Hinthorn
4de8443c5c
Add default TTL in store & CLI
2025-03-11 20:15:38 -07:00
William FH and GitHub
d86502421d
Add TTL args for SDKs ( #3728 )
2025-03-06 23:30:48 +00:00
Arjun Natarajan
098a199cb9
update assistant version class
2025-03-05 15:39:34 -05:00
Vadym Barda and GitHub
3d4e5c0471
sdk-py: fix decode_json in sdk ( #3681 )
2025-03-04 20:05:16 +00:00
Vadym Barda and GitHub
5d73df6133
sdk-py: fix docstring for runs.list ( #3646 )
...
Fixes #3645
2025-02-28 15:43:49 -05:00
William Fu-Hinthorn
b5a981d82d
Review
2025-02-25 11:58:01 -08:00