Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ functions
Functions
7,100 in github.com/langchain-ai/langgraph
⨍
Functions
7,100
◇
Types & classes
1,151
↳
Endpoints
35
↓ 1 callers
Function
schema
( cls: type[BaseModel], by_alias: bool = True, ref_template: str = DEFAULT_REF_TEMPLAT
libs/langgraph/langgraph/_internal/_pydantic.py:69
↓ 1 callers
Method
script_buffered
(self, events: list[dict])
libs/sdk-py/tests/streaming/assert_transport_replays.py:31
↓ 1 callers
Method
script_command_response
Set the command envelope returned by /commands.
libs/sdk-py/tests/streaming/_fake_server.py:121
↓ 1 callers
Method
script_command_response
(self, response: dict[str, Any])
libs/sdk-py/tests/streaming/_sync_fake_server.py:72
↓ 1 callers
Method
search
( self, *, metadata: Json = None, graph_id: str | None = None, name: s
libs/sdk-py/langgraph_sdk/_sync/assistants.py:497
↓ 1 callers
Method
send_command
(self, command: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/ws.py:57
↓ 1 callers
Method
send_command
(self, command: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/sync_ws.py:52
↓ 1 callers
Method
set
Set the cached values for the given keys.
libs/checkpoint/langgraph/cache/memory/__init__.py:38
↓ 1 callers
Method
set_graph
Store the graph returned by GET /assistants/{assistant_id}/graph.
libs/sdk-py/tests/streaming/_fake_server.py:125
↓ 1 callers
Method
set_graph
(self, graph: dict[str, Any])
libs/sdk-py/tests/streaming/_sync_fake_server.py:69
↓ 1 callers
Method
set_tenant
(self, tenant_id: str)
libs/cli/langgraph_cli/host_backend.py:162
↓ 1 callers
Function
setup
()
libs/langgraph/tests/test_pregel_async.py:8058
↓ 1 callers
Function
setup
()
libs/langgraph/tests/test_pregel.py:5835
↓ 1 callers
Method
setup
Set up the store database. This method creates the necessary tables in the SQLite database if they don't already exist and runs datab
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1060
↓ 1 callers
Method
setup
Set up the store database. This method creates the necessary tables in the SQLite database if they don't already exist and runs datab
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:145
↓ 1 callers
Method
setup
Set up the checkpoint database. This method creates the necessary tables in the SQLite database if they don't already exist. It is ca
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:129
↓ 1 callers
Method
setup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the Postgres database if they don't alread
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:232
↓ 1 callers
Method
setup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the Postgres database if they don't alread
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:596
↓ 1 callers
Function
signal_handler
()
libs/cli/langgraph_cli/exec.py:64
↓ 1 callers
Function
slow
()
libs/langgraph/tests/test_pregel_async.py:6981
↓ 1 callers
Function
slow
()
libs/langgraph/tests/test_pregel.py:6285
↓ 1 callers
Function
slow_task
(x: int)
libs/langgraph/tests/test_retry.py:1515
↓ 1 callers
Function
some_traceable
(content: State)
libs/langgraph/tests/test_tracing_interops.py:69
↓ 1 callers
Method
spinning_cursor
()
libs/cli/langgraph_cli/progress.py:11
↓ 1 callers
Method
start
Send `run.start` to the server. Returns the result (`{"run_id": ...}`).
libs/sdk-py/langgraph_sdk/_sync/stream.py:213
↓ 1 callers
Function
step_a
(x: int)
libs/langgraph/tests/test_pregel_async.py:8103
↓ 1 callers
Function
step_a
(x: int)
libs/langgraph/tests/test_pregel.py:5879
↓ 1 callers
Function
step_b
(x: int)
libs/langgraph/tests/test_pregel_async.py:8107
↓ 1 callers
Function
step_b
(x: int)
libs/langgraph/tests/test_pregel.py:5883
↓ 1 callers
Function
store
Create a SqliteStore for testing.
libs/checkpoint-sqlite/tests/test_store.py:83
↓ 1 callers
Method
stream
( self, thread_id: str, assistant_id: str, *, input: Input | None = No
libs/sdk-py/langgraph_sdk/_sync/runs.py:74
↓ 1 callers
Method
stream_events
(request: Request)
libs/sdk-py/tests/streaming/_fake_server.py:169
↓ 1 callers
Function
stream_writer
(chunk)
libs/langgraph/tests/test_retry.py:768
↓ 1 callers
Method
stream_writer
(c: Any)
libs/langgraph/langgraph/pregel/main.py:2910
↓ 1 callers
Function
submapper
(input: int)
libs/langgraph/tests/test_pregel_async.py:2355
↓ 1 callers
Function
submapper
(input: int)
libs/langgraph/tests/test_pregel.py:1344
↓ 1 callers
Function
swap_roles
(state: InterviewState, name: str)
libs/cli/examples/graphs/storm.py:235
↓ 1 callers
Method
sweep_ttl
Delete expired store items based on TTL. Returns: int: The number of deleted items.
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:248
↓ 1 callers
Method
sweep_ttl
Delete expired store items based on TTL. Returns: int: The number of deleted items.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:834
↓ 1 callers
Method
sweep_ttl
Delete expired store items based on TTL. Returns: int: The number of deleted items.
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:295
↓ 1 callers
Function
synthetic_handle
()
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:184
↓ 1 callers
Method
tap_output_aiter
Pass-through — required by the `_StreamingCallbackHandler` protocol.
libs/langgraph/langgraph/pregel/_tools.py:203
↓ 1 callers
Method
tap_output_iter
Pass-through — sync counterpart to `tap_output_aiter`.
libs/langgraph/langgraph/pregel/_tools.py:209
↓ 1 callers
Function
task_with_exception
(number: int)
libs/langgraph/tests/test_pregel_async.py:8732
↓ 1 callers
Function
task_with_exception
(number: int)
libs/langgraph/tests/test_pregel.py:8299
↓ 1 callers
Method
tee
Subscribe and return `n` independent sync iterators. Each branch has its own buffer; items pulled from the underlying cursor are copi
libs/langgraph/langgraph/stream/stream_channel.py:245
↓ 1 callers
Function
test_file
(file_name)
libs/cli/langgraph_cli/config.py:1238
↓ 1 callers
Method
tick
( self, tasks: Iterable[PregelExecutableTask], *, reraise: bool = True,
libs/langgraph/langgraph/pregel/_runner.py:177
↓ 1 callers
Method
to_dict
Return a JSON-serializable dict.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:182
↓ 1 callers
Function
transformer_requires_async
Return True if the transformer needs a running event loop. A transformer requires async if it explicitly opts in (`requires_async = True`) or
libs/langgraph/langgraph/stream/_types.py:308
↓ 1 callers
Method
unregister_subscription
(self, subscription_id: int)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:102
↓ 1 callers
Method
validate
(self, interrupt: Sequence[str] | None = None)
libs/langgraph/langgraph/graph/state.py:1129
↓ 1 callers
Function
validate_deploy_commands
Validate optional deploy commands for disallowed content.
libs/cli/langgraph_cli/deploy.py:478
↓ 1 callers
Function
validate_graph
( nodes: Mapping[str, PregelNode], channels: dict[str, BaseChannel], managed: ManagedValueMapping,
libs/langgraph/langgraph/pregel/_validate.py:13
↓ 1 callers
Function
validate_keys
( keys: str | Sequence[str] | None, channels: Mapping[str, Any], )
libs/langgraph/langgraph/pregel/_validate.py:110
↓ 1 callers
Function
validate_timeout_supported
(runnable: Runnable, *, name: str)
libs/langgraph/langgraph/pregel/_utils.py:133
↓ 1 callers
Function
versions_seen_without_bumps
`versions_seen` as the nodes read it: an entry a bump advanced goes back to the version the node really read, or away if it never read one.
libs/langgraph/langgraph/pregel/_checkpoint.py:334
↓ 1 callers
Function
visit
(package: UvLockPackage)
libs/cli/langgraph_cli/uv_lock.py:676
↓ 1 callers
Function
wait_for
Wait for a condition to be true.
libs/langgraph/tests/test_tracing_interops.py:38
↓ 1 callers
Method
wait_for_idle_timeout
(self, idle_timeout_s: float)
libs/langgraph/langgraph/pregel/_retry.py:215
↓ 1 callers
Function
walk_channel
Walk one channel's parent chain from target.parent backward to seed.
examples/delta-channel-dump/dump.py:280
↓ 1 callers
Function
walk_parent_chain
Walk parent chain and return per-channel seed + writes (oldest-first).
examples/delta-channel-dump/dump.py:333
↓ 1 callers
Function
where
(match_type: str, path: tuple[str, ...])
libs/checkpoint-sqlite/tests/test_store.py:1392
↓ 1 callers
Method
with_config
(self, config: RunnableConfig | None = None, **kwargs: Any)
libs/langgraph/langgraph/pregel/remote.py:227
↓ 1 callers
Method
wrap_config
(self, config: RunnableConfig)
libs/langgraph/langgraph/pregel/_retry.py:169
↓ 1 callers
Function
write_value_fn
(step: int)
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/_delta_fixtures.py:47
Method
InputType
(self)
libs/langgraph/langgraph/pregel/main.py:1072
Method
OutputType
(self)
libs/langgraph/langgraph/pregel/main.py:1099
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/ephemeral_value.py:37
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/last_value.py:40
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/last_value.py:106
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/base.py:35
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/topic.py:52
Method
UpdateType
(self)
libs/langgraph/langgraph/channels/delta.py:107
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/untracked_value.py:37
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/named_barrier_value.py:35
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/named_barrier_value.py:112
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/any_value.py:36
Method
UpdateType
The type of the update received by the channel.
libs/langgraph/langgraph/channels/binop.py:105
Method
UpdateType
(self)
libs/langgraph/tests/test_serde_allowlist.py:76
Method
UpdateType
(self)
libs/langgraph/bench/serde_allowlist.py:59
Method
UpdateType
(self)
libs/checkpoint/langgraph/checkpoint/serde/types.py:45
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/ephemeral_value.py:32
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/last_value.py:35
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/last_value.py:101
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/base.py:30
Method
ValueType
(self)
libs/langgraph/langgraph/channels/delta.py:103
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/untracked_value.py:32
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/named_barrier_value.py:30
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/named_barrier_value.py:107
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/any_value.py:31
Method
ValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/binop.py:100
Method
ValueType
(self)
libs/langgraph/tests/test_serde_allowlist.py:72
Method
ValueType
(self)
libs/langgraph/bench/serde_allowlist.py:55
Method
ValueType
(self)
libs/checkpoint/langgraph/checkpoint/serde/types.py:42
Function
_AnyIdDocument
Create a document with an id field.
libs/langgraph/tests/messages.py:18
Method
__aenter__
(self)
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:345
Method
__aenter__
(self)
libs/langgraph/langgraph/pregel/_executor.py:183
Method
__aenter__
(self)
libs/langgraph/langgraph/pregel/_loop.py:1956
Method
__aenter__
(self)
libs/langgraph/langgraph/pregel/_remote_run_stream.py:267
← previous
next →
1,901–2,000 of 7,100, ranked by callers