MCPcopy Create free account

hub / github.com/langchain-ai/langgraph / functions

Functions7,100 in github.com/langchain-ai/langgraph

↓ 2 callersFunction_sync_runs
(raw)
libs/sdk-py/tests/integration/test_runs.py:29
↓ 2 callersFunction_sync_store
(raw)
libs/sdk-py/tests/integration/test_store.py:26
↓ 2 callersMethod_try_advance_walks
Advance each not-yet-seeded channel's walk as far as possible. Uses the partial `parent_of` map accumulated so far. A walk stops eith
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:390
↓ 2 callersMethod_unregister_active_tool_call
(self, handle: ToolCallHandle)
libs/sdk-py/langgraph_sdk/_async/stream.py:1359
↓ 2 callersMethod_unregister_active_tool_call
(self, handle: SyncToolCallHandle)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1246
↓ 2 callersFunction_validate_chat_history
Validate that all tool calls in AIMessages have a corresponding ToolMessage.
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:243
↓ 2 callersFunction_validate_git_http_url_userinfo
Reject credential-bearing Git HTTP URLs without echoing their values.
libs/cli/langgraph_cli/config.py:95
↓ 2 callersMethod_validate_tool_call
(self, call: ToolCall)
libs/prebuilt/langgraph/prebuilt/tool_node.py:1268
↓ 2 callersMethod_validate_tool_command
( self, command: Command, call: ToolCall, input_type: Literal["list", "dict",
libs/prebuilt/langgraph/prebuilt/tool_node.py:1503
↓ 2 callersFunction_validate_uv_lock_package
( package: UvLockPackage, *, project_root: pathlib.Path, root_pyproject_path: pathlib.Path,
libs/cli/langgraph_cli/uv_lock.py:304
↓ 2 callersMethod_wait_for_run_done
Block until lifecycle completion. Raises: RuntimeError: stream not entered, or no run started and no explicit thr
libs/sdk-py/langgraph_sdk/_sync/stream.py:1568
↓ 2 callersMethod_wake_all
(self)
libs/sdk-py/langgraph_sdk/stream/multi_cursor_buffer.py:42
↓ 2 callersMethod_wire
Install the auto-forward callback (called by StreamMux).
libs/langgraph/langgraph/stream/stream_channel.py:112
↓ 2 callersFunction_wire_path
Return the path as it goes on the wire (preserves percent-encoding).
libs/sdk-py/tests/test_path_encoding.py:81
↓ 2 callersFunction_wrap_stream_v2
Wrap a raw SSE stream, converting each event to a v2 dict.
libs/sdk-py/langgraph_sdk/_async/runs.py:46
↓ 2 callersFunction_wrap_stream_v2_sync
Wrap a raw SSE stream, converting each event to a v2 dict.
libs/sdk-py/langgraph_sdk/_sync/runs.py:46
↓ 2 callersMethodaccept_push
Accept a PUSH from a task, potentially returning a new task to start.
libs/langgraph/langgraph/pregel/_loop.py:565
↓ 2 callersFunctionacheckpoint_superseded
Async `checkpoint_superseded`.
libs/langgraph/langgraph/pregel/_checkpoint.py:147
↓ 2 callersMethodaclear
Asynchronously delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.
libs/checkpoint/langgraph/cache/base/__init__.py:46
↓ 2 callersMethodaclear_cache
Asynchronously clear the cache for the given nodes.
libs/langgraph/langgraph/pregel/main.py:4220
↓ 2 callersMethodafter_tick
(self)
libs/langgraph/langgraph/pregel/_loop.py:698
↓ 2 callersMethodaget_graph
Get graph by graph name. This method calls `GET /assistants/{assistant_id}/graph`. Args: config: This parameter is not u
libs/langgraph/langgraph/pregel/remote.py:289
↓ 2 callersMethodaget_state
Get the state of a thread. This method calls `POST /threads/{thread_id}/state/checkpoint` if a checkpoint is specified in the config
libs/langgraph/langgraph/pregel/remote.py:472
↓ 2 callersMethodaget_state_history
Get the state history of a thread. This method calls `POST /threads/{thread_id}/history`. Args: config: A `RunnableConfi
libs/langgraph/langgraph/pregel/remote.py:547
↓ 2 callersMethodaget_subgraphs
Get the subgraphs of the graph. Args: namespace: The namespace to filter the subgraphs by. recurse: Whether to recurs
libs/langgraph/langgraph/pregel/main.py:1179
↓ 2 callersMethodaget_tuple
Get a checkpoint tuple from the database asynchronously. This method retrieves a checkpoint tuple from the SQLite database based on the
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:346
↓ 2 callersMethodaget_tuple
Asynchronously fetch a checkpoint tuple using the given configuration. Args: config: Configuration specifying which checkpoint to
libs/checkpoint/langgraph/checkpoint/base/__init__.py:430
↓ 2 callersMethodamatch_cached_writes
(self)
libs/langgraph/langgraph/pregel/_loop.py:1873
↓ 2 callersMethodaput_writes
( self, config: RunnableConfig, writes: list[tuple[str, Any]], task_id: str )
libs/langgraph/tests/test_pregel_async.py:125
↓ 2 callersMethodaupdate_state
Update the state of a thread. This method calls `POST /threads/{thread_id}/state`. Args: config: A `RunnableConfig` that
libs/langgraph/langgraph/pregel/remote.py:637
↓ 2 callersFunctionbar
(a: str, b: str, c: str | None = None)
libs/langgraph/tests/test_pregel_async.py:2466
↓ 2 callersFunctionbar
(a: str, b: str, c: str | None = None)
libs/langgraph/tests/test_pregel.py:1405
↓ 2 callersMethodbind_apump
Async counterpart to `bind_pump`.
libs/langgraph/langgraph/stream/_mux.py:182
↓ 2 callersFunctionbuild_delta_channels_writes_history
Demux stage-2 rows per channel; produce per-channel histories. Stage-2 rows are `(checkpoint_id, channel, task_id, idx, type, value)`. Final
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/_delta.py:138
↓ 2 callersFunctionbuild_delta_stage2_sql
Stage-2 per-channel UNION ALL fetching writes from `writes`. One branch per channel with a non-empty chain. Each branch inlines its own `IN (
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/_delta.py:59
↓ 2 callersFunctionbuild_docker_image
Build a Docker image from a LangGraph config.
libs/cli/langgraph_cli/docker.py:333
↓ 2 callersFunctioncan_build_locally
Return whether local deployment builds can run on this machine. Checks: - Docker binary is installed - Docker daemon is running - Bui
libs/cli/langgraph_cli/docker.py:52
↓ 2 callersFunctioncheckpoint
(values: dict[str, Any])
libs/langgraph/tests/test_pregel_async.py:8947
↓ 2 callersFunctioncheckpoint
(values: dict[str, Any])
libs/langgraph/tests/test_pregel.py:8476
↓ 2 callersFunctioncheckpoint_null_version
Get the null version for the checkpoint, if available.
libs/langgraph/langgraph/pregel/_algo.py:1251
↓ 2 callersFunctioncheckpoint_superseded
Whether the thread has moved past `saved`, the checkpoint `config` addressed. A checkpoint with a child is never the latest put, so this misses n
libs/langgraph/langgraph/pregel/_checkpoint.py:130
↓ 2 callersMethodclear_cache
Clear the cache for the given nodes.
libs/langgraph/langgraph/pregel/main.py:4201
↓ 2 callersMethodclose
Tear down the thread stream. Idempotent.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1179
↓ 2 callersMethodconformance_level
Return a human-readable conformance level string.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:126
↓ 2 callersMethodcopy
( self, *, run_id: UUID | None | object = _MISSING, )
libs/langgraph/langgraph/callbacks.py:248
↓ 2 callersMethodcopy
(self, update: dict[str, Any])
libs/langgraph/langgraph/pregel/remote.py:223
↓ 2 callersMethodcopy
(self)
libs/langgraph/langgraph/channels/delta.py:110
↓ 2 callersMethodcopy
Copy a thread. Args: thread_id: The ID of the thread to copy. headers: Optional custom headers to include with the re
libs/sdk-py/langgraph_sdk/_async/threads.py:410
↓ 2 callersMethodcount
Count cron jobs matching filters. Args: assistant_id: Assistant ID to filter by. thread_id: Thread ID to filter by.
libs/sdk-py/langgraph_sdk/_sync/cron.py:498
↓ 2 callersFunctioncreate_checkpoint_plan_for_update_state_api
Return ``(channels_to_snapshot, metadata)`` for an update_state head.
libs/langgraph/langgraph/pregel/_checkpoint.py:184
↓ 2 callersMethodcreate_for_thread
Create a cron job for a thread. Args: thread_id: the thread ID to run the cron job on. assistant_id: The assistant ID
libs/sdk-py/langgraph_sdk/_async/cron.py:62
↓ 2 callersMethodcreate_for_thread
Create a cron job for a thread. Args: thread_id: the thread ID to run the cron job on. assistant_id: The assistant ID
libs/sdk-py/langgraph_sdk/_sync/cron.py:56
↓ 2 callersFunctioncreate_sequential
Create a sequential no-op graph consisting of a few hundred nodes.
libs/langgraph/bench/sequential.py:7
↓ 2 callersFunctioncurated_core_allowlist
()
libs/langgraph/langgraph/_internal/_serde.py:60
↓ 2 callersFunctiondecode_blob
(blob_type: str, blob_bytes: bytes | None)
examples/delta-channel-dump/dump.py:115
↓ 2 callersFunctiondecorator
(*args, **kwargs)
libs/cli/langgraph_cli/analytics.py:88
↓ 2 callersMethoddelete
Delete a cron. Args: cron_id: The cron ID to delete. headers: Optional custom headers to include with the request.
libs/sdk-py/langgraph_sdk/_sync/cron.py:284
↓ 2 callersFunctiondeployment_selector
(deployment_id: str | None, name: str | None)
libs/cli/langgraph_cli/deploy.py:470
↓ 2 callersMethoddispatch
(self, request: Any, call_next: Any)
libs/cli/examples/my_app.py:25
↓ 2 callersMethoddo_read
( config: RunnableConfig, *, select: str | list[str], fresh: bool = False,
libs/langgraph/langgraph/pregel/_read.py:74
↓ 2 callersFunctiondrain
(channels)
libs/sdk-py/tests/streaming/test_shared_stream.py:105
↓ 2 callersFunctiondraw_graph
Get the graph for this Pregel instance. Args: config: The configuration to use for the graph. subgraphs: The subgraphs to include
libs/langgraph/langgraph/pregel/_draw.py:42
↓ 2 callersMethoddumps_typed
(self, obj: Any)
libs/langgraph/tests/memory_assert.py:26
↓ 2 callersMethodembed_documents
Embed a list of documents.
libs/checkpoint-sqlite/tests/test_store.py:70
↓ 2 callersMethodembed_documents
Embed a list of documents.
libs/checkpoint-postgres/tests/embed_test_utils.py:46
↓ 2 callersMethodembed_documents
Embed a list of texts into vectors. Args: texts: list of texts to convert to embeddings. Returns: list of em
libs/checkpoint/langgraph/store/base/embed.py:162
↓ 2 callersFunctionemit_serde_event
Emit a serde event to all listeners. Listener failures are isolated and logged.
libs/checkpoint/langgraph/checkpoint/serde/event_hooks.py:41
↓ 2 callersFunctionensure_valid_checkpointer
(checkpointer: Checkpointer)
libs/langgraph/langgraph/types.py:118
↓ 2 callersFunctionexit_delta_task_id
Synthetic task id for exit-mode DeltaChannel writes. Embeds the superstep in the first UUID group so `ORDER BY task_id, idx` preserves chrono
libs/langgraph/langgraph/pregel/_checkpoint.py:52
↓ 2 callersMethodfail
Propagate run error to any streams still open when the graph fails.
libs/langgraph/langgraph/stream/transformers.py:335
↓ 2 callersFunctionfanout_to_subgraph
()
libs/langgraph/bench/fanout_to_subgraph.py:11
↓ 2 callersFunctionfilter_to_user_tags
Drop langgraph's internal `seq:step:*` bookkeeping tags. `seq:step:N` tags are added internally to mark sequence steps; everything else (user
libs/langgraph/langgraph/_internal/_config.py:463
↓ 2 callersMethodfinalize
Called when the run ends normally (sync lane). Override to close StreamChannels, resolve promises, or perform other teardown. StreamC
libs/langgraph/langgraph/stream/_types.py:186
↓ 2 callersMethodflattened_runs
(self)
libs/langgraph/tests/fake_tracer.py:77
↓ 2 callersMethodfor_host
(cls, machine: str, *, verbose: bool)
libs/cli/langgraph_cli/deploy.py:1164
↓ 2 callersFunctionformat_deployments_table
(deployments: Sequence[dict[str, object]])
libs/cli/langgraph_cli/deploy.py:604
↓ 2 callersFunctionformat_revisions_table
(revisions: Sequence[dict[str, object]])
libs/cli/langgraph_cli/deploy.py:627
↓ 2 callersFunctionformat_row
(row: Sequence[str])
libs/cli/langgraph_cli/deploy.py:619
↓ 2 callersMethodfrom_ns
( cls, value: Any, ns: str, *, response_schema: type[ResponseT] | dict
libs/langgraph/langgraph/types.py:635
↓ 2 callersMethodget
Return the current value of the channel. Raises `EmptyChannelError` if the channel is empty (never updated yet).
libs/langgraph/langgraph/channels/base.py:70
↓ 2 callersMethodget
Get the cached values for the given keys.
libs/checkpoint/langgraph/cache/redis/__init__.py:52
↓ 2 callersMethodget
Send a `GET` request.
libs/sdk-py/langgraph_sdk/_async/http.py:39
↓ 2 callersMethodget
Send a `GET` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:39
↓ 2 callersFunctionget_cached_annotated_keys
Return cached annotated keys for a Python class.
libs/langgraph/langgraph/_internal/_fields.py:196
↓ 2 callersMethodget_config_jsonschema
( self, *, include: Sequence[str] | None = None )
libs/langgraph/langgraph/pregel/main.py:1044
↓ 2 callersFunctionget_field_default
Determine the default value for a field in a state schema. This is based on: If TypedDict: - Required/NotRequired
libs/langgraph/langgraph/_internal/_fields.py:79
↓ 2 callersFunctionget_function_nonlocals
Get the values a function reaches from outside its own scope. Args: func: The function to check. Returns: Every captured cel
libs/langgraph/langgraph/pregel/_utils.py:161
↓ 2 callersMethodget_graph
Get graph by graph name. This method calls `GET /assistants/{assistant_id}/graph`. Args: config: This parameter is not u
libs/langgraph/langgraph/pregel/remote.py:256
↓ 2 callersMethodget_graph
Get the graph of an assistant by ID. Args: assistant_id: The ID of the assistant to get the graph of. xray: Include g
libs/sdk-py/langgraph_sdk/_async/assistants.py:93
↓ 2 callersMethodget_input_schema
(self, config: RunnableConfig | None = None)
libs/langgraph/langgraph/pregel/main.py:1078
↓ 2 callersMethodget_item
Retrieve a single item. Args: key: The unique identifier for the item. namespace: Optional list of strings representi
libs/sdk-py/langgraph_sdk/_async/store.py:87
↓ 2 callersMethodget_schemas
Get the schemas of an assistant by ID. Args: assistant_id: The ID of the assistant to get the schema of. headers: Opt
libs/sdk-py/langgraph_sdk/_async/assistants.py:153
↓ 2 callersMethodget_state
Get the state of a thread. This method calls `POST /threads/{thread_id}/state/checkpoint` if a checkpoint is specified in the config
libs/langgraph/langgraph/pregel/remote.py:436
↓ 2 callersMethodget_tuple
Fetch a checkpoint tuple using the given configuration. Args: config: Configuration specifying which checkpoint to retrieve.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:240
↓ 2 callersFunctionget_update_as_tuples
Get Pydantic state update as a list of (key, value) tuples.
libs/langgraph/langgraph/_internal/_fields.py:166
↓ 2 callersFunctionget_updated_channels_from_tasks
Channel names written by an update_state superstep (excluding PUSH).
libs/langgraph/langgraph/pregel/_checkpoint.py:93
↓ 2 callersMethodinvoke
( self, input: Any, config: RunnableConfig | None = None, **kwargs: Any )
libs/langgraph/langgraph/_internal/_runnable.py:374
↓ 2 callersFunctionis_async_generator
Check if a function is an async generator.
libs/langgraph/langgraph/_internal/_runnable.py:539
↓ 2 callersFunctionlax_normalize_config
(config: dict | None)
libs/langgraph/tests/test_pregel.py:4394
↓ 2 callersMethodlist_listeners
(self)
libs/cli/langgraph_cli/host_backend.py:240
← previousnext →1,001–1,100 of 7,100, ranked by callers