MCPcopy Create free account

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

Functions6,698 in github.com/langchain-ai/langgraph

↓ 2 callersFunction_remap_field_definitions
This remaps fields to avoid colliding with internal pydantic fields.
libs/langgraph/langgraph/_internal/_pydantic.py:152
↓ 2 callersMethod_reset_writer
(token: Token[ToolCallWriter | None])
libs/langgraph/langgraph/pregel/_tools.py:214
↓ 2 callersFunction_resolve_model
Resolve the model to use, handling both static and dynamic models.
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:599
↓ 2 callersFunction_resolve_parent_ns
Return the checkpoint namespace the caller is running under. `stream_events(version="v3")` uses this to scope its native projections (`Values
libs/langgraph/langgraph/pregel/main.py:4271
↓ 2 callersFunction_rewrite_uv_lock_import_path
( config_path: pathlib.Path, import_str: str, plan: UvLockPlan, *, label: str, )
libs/cli/langgraph_cli/uv_lock.py:739
↓ 2 callersFunction_row_to_item
Convert a row from the database into an Item.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:208
↓ 2 callersFunction_row_to_item
Convert a row from the database into an Item. Args: namespace: Item namespace row: Database row loader: Optional value lo
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1331
↓ 2 callersFunction_row_to_search_item
Convert a row from the database into a SearchItem.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:230
↓ 2 callersFunction_row_to_search_item
Convert a row from the database into an Item.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1359
↓ 2 callersMethod_send_command
Send a protocol command and return the `result` payload. Returns `{}` for 202/204 responses (no body). Raises `RuntimeError` with the
libs/sdk-py/langgraph_sdk/_async/stream.py:1779
↓ 2 callersMethod_send_command
Send a protocol command and return the `result` payload.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1467
↓ 2 callersFunction_send_from_args
(args: Sequence[Any])
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:537
↓ 2 callersFunction_should_bind_tools
( model: LanguageModelLike, tools: Sequence[BaseTool], num_builtin: int = 0 )
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:173
↓ 2 callersFunction_should_stop_others
Check if any task failed, if so, cancel all other tasks. GraphInterrupts are not considered failures.
libs/langgraph/langgraph/pregel/_runner.py:616
↓ 2 callersMethod_signal_paused
Wake every active projection iterator on interrupt / run end. Pushes the terminal sentinel (`None`) into every subscription queue. It
libs/sdk-py/langgraph_sdk/_async/stream.py:1363
↓ 2 callersFunction_store_memory
()
libs/langgraph/tests/conftest_store.py:12
↓ 2 callersFunction_store_memory
()
libs/prebuilt/tests/conftest_store.py:12
↓ 2 callersMethod_stream_part
( self, method: str, data: Any, namespace: tuple[str, ...] = () )
libs/langgraph/tests/test_pregel_stream_events_v3.py:1002
↓ 2 callersFunction_strip_extras
Strips Annotated, Required and NotRequired from a given type.
libs/langgraph/langgraph/channels/binop.py:22
↓ 2 callersFunction_subgraph_subscription_params
(scope: tuple[str, ...])
libs/sdk-py/langgraph_sdk/_async/stream.py:529
↓ 2 callersFunction_subgraph_subscription_params
(scope: tuple[str, ...])
libs/sdk-py/langgraph_sdk/_sync/stream.py:116
↓ 2 callersMethod_subscription_iter
( self, params: SubscribeParams )
libs/sdk-py/langgraph_sdk/_async/stream.py:1584
↓ 2 callersMethod_subscription_iter
(self, params: SubscribeParams)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1452
↓ 2 callersFunction_sync_assistants
(raw)
libs/sdk-py/tests/integration/test_assistants.py:27
↓ 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:414
↓ 2 callersMethod_unregister_active_tool_call
(self, handle: ToolCallHandle)
libs/sdk-py/langgraph_sdk/_async/stream.py:1355
↓ 2 callersMethod_unregister_active_tool_call
(self, handle: SyncToolCallHandle)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1242
↓ 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 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:1564
↓ 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:550
↓ 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:4155
↓ 2 callersMethodafter_tick
(self)
libs/langgraph/langgraph/pregel/_loop.py:683
↓ 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_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:429
↓ 2 callersMethodamatch_cached_writes
(self)
libs/langgraph/langgraph/pregel/_loop.py:1804
↓ 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:127
↓ 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:42
↓ 2 callersFunctionbuild_docker_image
Build a Docker image from a LangGraph config.
libs/cli/langgraph_cli/docker.py:333
↓ 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:8474
↓ 2 callersFunctioncheckpoint_null_version
Get the null version for the checkpoint, if available.
libs/langgraph/langgraph/pregel/_algo.py:1251
↓ 2 callersMethodclear_cache
Clear the cache for the given nodes.
libs/langgraph/langgraph/pregel/main.py:4136
↓ 2 callersMethodclose
Tear down the thread stream. Idempotent.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1175
↓ 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:117
↓ 2 callersMethodcreate_deployment
Create a deployment.
libs/cli/langgraph_cli/host_backend.py:73
↓ 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 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 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:107
↓ 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:39
↓ 2 callersFunctionfactory
(scope: tuple[str, ...], _spec: Callable[..., Any] = spec)
libs/langgraph/langgraph/pregel/main.py:443
↓ 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 callersFunctionfind_deployment_id_by_name
Return deployment ID for an exact name match, or None if not found.
libs/cli/langgraph_cli/deploy.py:321
↓ 2 callersFunctionformat_deployments_table
(deployments: Sequence[dict[str, object]])
libs/cli/langgraph_cli/deploy.py:414
↓ 2 callersFunctionformat_revisions_table
(revisions: Sequence[dict[str, object]])
libs/cli/langgraph_cli/deploy.py:437
↓ 2 callersFunctionformat_row
(row: Sequence[str])
libs/cli/langgraph_cli/deploy.py:429
↓ 2 callersMethodfrom_ns
(cls, value: Any, ns: str)
libs/langgraph/langgraph/types.py:577
↓ 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
← previousnext →901–1,000 of 6,698, ranked by callers