MCPcopy Create free account

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

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

↓ 4 callersFunctionget_serializable_checkpoint_metadata
Get checkpoint metadata in a backwards-compatible manner.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:779
↓ 4 callersMethodget_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:1140
↓ 4 callersMethodinvoke
( self, input: dict[str, Any] | Any, config: RunnableConfig | None = None, *,
libs/langgraph/langgraph/pregel/remote.py:1133
↓ 4 callersFunctionis_managed_value
(value: Any)
libs/langgraph/langgraph/managed/base.py:27
↓ 4 callersMethodlist_deployments
( self, *, name: str | None = None, name_contains: str | None = None,
libs/cli/langgraph_cli/host_backend.py:218
↓ 4 callersMethodlist_revisions
( self, deployment_id: str, limit: int = 1 )
libs/cli/langgraph_cli/host_backend.py:317
↓ 4 callersFunctionmap
(state: State)
libs/langgraph/tests/test_pregel.py:8101
↓ 4 callersFunctionmap_input
Map input chunk to a sequence of pending writes in the form (channel, value).
libs/langgraph/langgraph/pregel/_io.py:81
↓ 4 callersMethodnote
Top-level banner (pre-step). Text mode does not indent.
libs/cli/langgraph_cli/deploy.py:338
↓ 4 callersMethodon
(self, listener: Listener)
libs/cli/langgraph_cli/deploy.py:243
↓ 4 callersMethodon_llm_new_token
(self, token, *, run_id, **kwargs)
libs/langgraph/tests/test_retry.py:1081
↓ 4 callersMethodprocess
(self, event: ProtocolEvent)
libs/langgraph/langgraph/stream/transformers.py:265
↓ 4 callersMethodpush
(self, item: T)
libs/sdk-py/langgraph_sdk/stream/multi_cursor_buffer.py:24
↓ 4 callersMethodput
Save a checkpoint to the in-memory storage. This method saves a checkpoint to the in-memory storage. The checkpoint is associated wit
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:421
↓ 4 callersMethodput_item
Store or update an item. Args: namespace: A list of strings representing the namespace path. key: The unique identifi
libs/sdk-py/langgraph_sdk/_async/store.py:35
↓ 4 callersMethodread_from
Adds the specified channels to read from, without subscribing to them.
libs/langgraph/langgraph/pregel/main.py:299
↓ 4 callersMethodscript_sequence
Set per-open stream scripts consumed in order by /stream/events.
libs/sdk-py/tests/streaming/_fake_server.py:116
↓ 4 callersFunctionstream
(chunk)
libs/langgraph/tests/test_retry.py:758
↓ 4 callersMethodsubscribe_to
Add channels to subscribe to. Node will be invoked when any of these channels are updated, with a dict of the channel values as input
libs/langgraph/langgraph/pregel/main.py:264
↓ 4 callersFunctionsync_timeout_unsupported
Build the canonical error for using `timeout` with a sync target.
libs/langgraph/langgraph/_internal/_timeout.py:21
↓ 4 callersMethodupdate
( self, thread_id: str, *, metadata: Mapping[str, Any], ttl: int | Map
libs/sdk-py/langgraph_sdk/_async/threads.py:179
↓ 4 callersMethodupdate_deployment
( self, deployment_id: str, image_uri: str, *, revision_source: Source
libs/cli/langgraph_cli/host_backend.py:264
↓ 4 callersMethodupdate_state
Update the state of a thread. Args: thread_id: The ID of the thread to update. values: The values to update the state
libs/sdk-py/langgraph_sdk/_async/threads.py:621
↓ 4 callersFunctionupdates_event
( seq: int = 0, namespace: list[str] | None = None, **data: Any )
libs/sdk-py/tests/streaming/_events.py:78
↓ 4 callersFunctionvalidate
Run the validation suite against a registered checkpointer. Args: registered: A RegisteredCheckpointer (from @checkpointer_test decorator
libs/checkpoint-conformance/langgraph/checkpoint/conformance/validate.py:45
↓ 4 callersMethodwith_timeout
Return a new awaitable that raises `asyncio.TimeoutError` after `timeout` seconds. Bounds the wait for the lifecycle terminal (and only that
libs/sdk-py/langgraph_sdk/_async/stream.py:298
↓ 3 callersMethod__init__
( self, message: str, *args: object, since: tuple[int, int], expected_
libs/langgraph/langgraph/warnings.py:29
↓ 3 callersMethod__init__
(self, prefix: str | re.Pattern = "")
libs/langgraph/tests/any_str.py:34
↓ 3 callersFunction_achild_namespace
(app: Any, config: dict)
libs/langgraph/tests/test_delta_channel_subgraph.py:108
↓ 3 callersFunction_add_messages_graph
(checkpointer: Any)
libs/langgraph/tests/test_delta_channel_migration.py:531
↓ 3 callersMethod_add_schema
(self, schema: type[Any], /, allow_managed: bool = True)
libs/langgraph/langgraph/graph/state.py:343
↓ 3 callersFunction_adrive_until_done
Call the async pump until it returns False.
libs/langgraph/langgraph/stream/run_stream.py:30
↓ 3 callersFunction_arm
Pre-subscribe every projection in the mux so synthetic pushes accumulate. Real consumer code subscribes by iterating the projection; tests in
libs/langgraph/tests/test_stream_subgraph_transformer.py:118
↓ 3 callersFunction_assert_branch_unchanged
(state: StateSnapshot, expected: list, edit: str)
libs/langgraph/tests/test_delta_channel_fork.py:245
↓ 3 callersFunction_assistant_payload
()
libs/sdk-py/tests/test_assistants_client.py:14
↓ 3 callersMethod_await_run_start_gate
Wait for the current run.start to commit the thread server-side. No-op when no run.start is in flight. Re-raises if run.start failed.
libs/sdk-py/langgraph_sdk/_async/stream.py:1813
↓ 3 callersFunction_binop_graph
(checkpointer: Any)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:54
↓ 3 callersFunction_build_custom_stream_graph
()
libs/langgraph/tests/test_pregel_stream_events_v3.py:112
↓ 3 callersFunction_build_graph
(checkpointer: Any)
libs/langgraph/tests/test_delta_channel_id_stability.py:37
↓ 3 callersFunction_build_parallel_interrupt
(checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_delta_channel_fork.py:658
↓ 3 callersFunction_build_paused_before_b
(checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_delta_channel_fork.py:648
↓ 3 callersFunction_build_runtime_env_vars
(config: Config)
libs/cli/langgraph_cli/config.py:1204
↓ 3 callersMethod_build_saver_with_chain
Build an InMemorySaver with a 3-checkpoint chain and per-step writes for a `messages` channel. Returns `(saver, thread_id, namespace)
libs/checkpoint/tests/test_memory.py:434
↓ 3 callersFunction_build_simple_graph
()
libs/langgraph/tests/test_interleave_arrival_order.py:46
↓ 3 callersFunction_build_two_steps
(checkpointer: BaseCheckpointSaver, subgraph: bool)
libs/langgraph/tests/test_delta_channel_fork.py:548
↓ 3 callersFunction_checkpoint_ns_for_parent_command
Return the checkpoint namespace for the parent graph. The checkpoint namespace is a `|`-separated path. Each segment is usually of the form `
libs/langgraph/langgraph/pregel/_retry.py:544
↓ 3 callersFunction_child_mux
(handle: SubgraphRunStream | AsyncSubgraphRunStream)
libs/langgraph/tests/test_stream_subgraph_transformer.py:171
↓ 3 callersMethod_close_inboxes
Signal EOF only on channel inboxes that have an active consumer. Inboxes without a consumer would accumulate a leaked None sentinel t
libs/sdk-py/langgraph_sdk/_async/stream.py:663
↓ 3 callersMethod_close_inboxes
Signal EOF only on channel inboxes that have an active consumer. Inboxes without a consumer would accumulate a leaked None sentinel t
libs/sdk-py/langgraph_sdk/_sync/stream.py:729
↓ 3 callersFunction_create_msgpack_ext_hook
Create msgpack ext hook with allowlist. Args: allowed_modules: Set of (module, name) tuples that are allowed to be deserialized,
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:546
↓ 3 callersFunction_create_vector_store
Create a store with vector search enabled.
libs/checkpoint-postgres/tests/test_async_store.py:404
↓ 3 callersMethod_cursor
Create a database cursor as a context manager. Args: pipeline: whether to use pipeline for the DB operations inside the context m
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:544
↓ 3 callersMethod_dedup_iter
(self, source: AsyncIterator[Event])
libs/sdk-py/langgraph_sdk/_async/stream.py:1774
↓ 3 callersFunction_delta_graph
(checkpointer: Any)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:67
↓ 3 callersFunction_delta_messages_graph
(checkpointer: Any)
libs/langgraph/tests/test_delta_channel_migration.py:544
↓ 3 callersFunction_dispatch_observer
( callback: Callable[[_AttemptEvent], None], event: _AttemptEvent, )
libs/langgraph/langgraph/pregel/_retry.py:407
↓ 3 callersFunction_docker_argv
(docker_config_dir: str | None)
libs/cli/langgraph_cli/deploy.py:1173
↓ 3 callersFunction_drive
(graph: Any, config: RunnableConfig, n: int)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:69
↓ 3 callersFunction_drive_until_done
Call the sync pump until it returns False.
libs/langgraph/langgraph/stream/run_stream.py:24
↓ 3 callersFunction_env_without_deployment_name
Return env vars copy with deployment-name key removed.
libs/cli/langgraph_cli/deploy.py:725
↓ 3 callersFunction_exact_namespace_params
( channels: list[str], namespace: list[str], )
libs/sdk-py/langgraph_sdk/_async/stream.py:90
↓ 3 callersFunction_exact_namespace_params
( channels: list[str], namespace: list[str], )
libs/sdk-py/langgraph_sdk/_sync/stream.py:76
↓ 3 callersMethod_execute_tool_sync
Execute tool call with configured error handling. Args: request: Tool execution request. input_type: Input format.
libs/prebuilt/langgraph/prebuilt/tool_node.py:922
↓ 3 callersFunction_extract_deployment_url
(deployment: dict[str, object])
libs/cli/langgraph_cli/deploy.py:595
↓ 3 callersMethod_fanout
Single consumer of the shared SSE; routes events to subscriptions. Why: rotation in `_reconcile_stream` replaces `_shared_stream` mid-loop.
libs/sdk-py/langgraph_sdk/stream/controller.py:229
↓ 3 callersMethod_get_batch_list_namespaces_queries
( self, list_ops: Sequence[tuple[int, ListNamespacesOp]], )
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:608
↓ 3 callersFunction_get_channel
( name: str, annotation: Any, *, allow_managed: Literal[False] )
libs/langgraph/langgraph/graph/state.py:1839
↓ 3 callersFunction_get_model
Get the underlying model from a RunnableBinding or return the model itself.
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:220
↓ 3 callersFunction_get_node_pm_install_cmd
(project_dir: pathlib.Path)
libs/cli/langgraph_cli/config.py:1237
↓ 3 callersFunction_get_prompt_runnable
(prompt: Prompt | None)
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:137
↓ 3 callersMethod_graph
(self, model)
libs/langgraph/tests/test_stream_messages_transformer.py:651
↓ 3 callersFunction_image_revision_result
(resource: object, no_result_message: str)
libs/cli/langgraph_cli/deploy.py:1226
↓ 3 callersFunction_infer_handled_types
Infer exception types handled by a custom error handler function. This function analyzes the type annotations of a custom error handler to determ
libs/prebuilt/langgraph/prebuilt/tool_node.py:444
↓ 3 callersMethod_load_blobs
( self, thread_id: str, checkpoint_ns: str, versions: ChannelVersions, )
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:125
↓ 3 callersMethod_load_writes
( self, writes: list[tuple[bytes, bytes, bytes, bytes]] )
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:555
↓ 3 callersFunction_make_async_transformer
()
libs/langgraph/tests/test_stream_messages_transformer.py:114
↓ 3 callersFunction_make_interrupt_graph
Graph that interrupts after the first node.
libs/langgraph/tests/test_stream_events_v3_e2e.py:148
↓ 3 callersMethod_make_key
Create a Redis key from namespace and key.
libs/checkpoint/langgraph/cache/redis/__init__.py:31
↓ 3 callersFunction_make_pydantic_graph
Build a simple graph with PydanticState for validation error tests.
libs/langgraph/tests/test_stream_events_v3.py:1120
↓ 3 callersFunction_message_event_id
(data: dict[str, Any])
libs/sdk-py/langgraph_sdk/_async/stream.py:490
↓ 3 callersFunction_message_event_id
(data: dict[str, Any])
libs/sdk-py/langgraph_sdk/_sync/stream.py:127
↓ 3 callersFunction_metadata_predicate
Return WHERE clause predicates for (a)search() given metadata filter. This method returns a tuple of a string and a tuple of values. The string
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/utils.py:31
↓ 3 callersFunction_namespace_to_text
Convert namespace tuple to text string.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1278
↓ 3 callersMethod_observe_event
Track values-event state for output/interrupted/interrupts.
libs/langgraph/langgraph/stream/run_stream.py:147
↓ 3 callersMethod_on_terminal
Fired once per tracked namespace when its parent's result arrives, or via finalize/fail safety-net sweeps.
libs/langgraph/langgraph/stream/transformers.py:446
↓ 3 callersFunction_pick_mapper
( state_keys: Sequence[str], schema: type[Any] )
libs/langgraph/langgraph/graph/state.py:1732
↓ 3 callersMethod_put_checkpoint
(self, metadata: CheckpointMetadata)
libs/langgraph/langgraph/pregel/_loop.py:1142
↓ 3 callersMethod_register_active_message_stream
(self, stream: AsyncChatModelStream)
libs/sdk-py/langgraph_sdk/_async/stream.py:1345
↓ 3 callersMethod_register_active_message_stream
(self, stream: ChatModelStream)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1232
↓ 3 callersMethod_register_subscription
Allocate a subscription id, create a bounded queue, add to registry.
libs/sdk-py/langgraph_sdk/stream/controller.py:182
↓ 3 callersFunction_resolve_uv_lock_container_path
( host_path: pathlib.Path, plan: UvLockPlan )
libs/cli/langgraph_cli/uv_lock.py:520
↓ 3 callersFunction_resources
(payload: object)
libs/cli/langgraph_cli/host_backend.py:94
↓ 3 callersFunction_settled_boundaries
`(config, items)` for every checkpoint with `next == ('__start__',)` — the stable inter-invoke boundaries that round-trip predictably.
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:90
↓ 3 callersMethod_should_route_to_error_handler
(self, task: PregelExecutableTask)
libs/langgraph/langgraph/pregel/_runner.py:172
↓ 3 callersFunction_source_of
(resource: object)
libs/cli/langgraph_cli/deploy.py:501
↓ 3 callersFunction_state_schema
(snapshot_frequency: int = 1000)
libs/langgraph/tests/test_delta_channel_subgraph.py:29
↓ 3 callersFunction_state_values
Extract top-level field values from a state object (dict, BaseModel, or dataclass).
libs/langgraph/langgraph/pregel/_messages.py:38
↓ 3 callersFunction_status_from_exception
Map a run exception to a subgraph terminal status and error string.
libs/langgraph/langgraph/stream/transformers.py:582
↓ 3 callersFunction_strict_msgpack_serde
()
libs/langgraph/tests/conftest_checkpointer.py:30
↓ 3 callersMethod_tool_calls_iter
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:1051
← previousnext →601–700 of 7,100, ranked by callers