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
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
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
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
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
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
William Fu-Hinthorn
f679348327
StreamMode in Join [sdk]
2025-02-25 11:14:38 -08:00
William FH and GitHub
277c341817
Configure loopback transports ( #3522 )
2025-02-19 15:58:57 -08:00
Ramón Vargas and GitHub
687ee02509
Update client.py
...
Typo change in function doc
2025-01-03 18:40:15 +01:00
Nuno Campos
e5ea4f51c7
sdk-py: Strip out unused keys in command parameter
2024-12-12 08:10:43 -08:00
Nuno Campos
d1aaa9de8c
sdk-py: Handle stream(params=)
2024-12-04 17:25:51 -08:00
湛露先生 and GitHub
84d33f9621
Fix typos in langgraph_sdk client. ( #2621 )
...
Fix typos in langgraph_sdk client.
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2024-12-04 06:29:28 -08:00
Nuno Campos and GitHub
dd010e9230
Merge pull request #2593 from langchain-ai/nc/2dec/sdk-sse
...
sdk-py: Fix SSE parsing to split lines only \n \r , remove httpx-sse, fix missing decoder flush
2024-12-03 16:23:11 -05:00
Nuno Campos
3bf92d0b03
Fix
2024-12-03 11:04:28 -08:00
Nuno Campos and GitHub
d70b659adb
Merge pull request #2430 from langchain-ai/nc/15nov/command-subgraph
...
Handle interrupt/resume for subgraphs
2024-12-02 20:45:40 -05:00
Nuno Campos
a3feaef2eb
lib: Handle Command in RemoteGraph
2024-12-02 16:45:07 -08:00
Tat Dat Duong
988dd237d2
feat(sdk): pass cancel on disconnect when joining stream
2024-12-03 01:17:15 +01:00
Nuno Campos
3cee1d5087
Remove httpx_sse, fix missing flush of sse decoder
2024-12-02 12:03:31 -08:00
Nuno Campos
2ce2021c39
Revert "Revert "sdk-py: Fix SSE parsing to split lines only \n \r \r\n per SSE spec""
...
This reverts commit 53ec7c41b2 .
2024-12-02 11:29:06 -08:00