MCPcopy Create free account

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

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

↓ 8 callersMethodlist
List checkpoints from the in-memory storage. This method retrieves a list of checkpoint tuples from the in-memory storage based on th
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:312
↓ 8 callersMethodload
(self)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:684
↓ 8 callersFunctionmatches_subscription
Whether `event` should be delivered for `definition`.
libs/sdk-py/langgraph_sdk/stream/subscription.py:88
↓ 8 callersMethodon_chain_error
( self, error: BaseException, *, run_id: UUID, parent_run_id: UUID | N
libs/langgraph/langgraph/pregel/_messages.py:248
↓ 8 callersMethodon_chain_start
( self, serialized: dict[str, Any], inputs: dict[str, Any], *, run_id:
libs/langgraph/langgraph/pregel/_messages.py:191
↓ 8 callersMethodoutput_writes
( self, task_id: str, writes: WritesT, *, cached: bool = False )
libs/langgraph/langgraph/pregel/_loop.py:1416
↓ 8 callersFunctionprepare_next_tasks
( checkpoint: Checkpoint, pending_writes: list[PendingWrite], processes: Mapping[str, PregelNode],
libs/langgraph/langgraph/pregel/_algo.py:349
↓ 8 callersMethodput
( self, config: dict, checkpoint: Checkpoint, metadata: CheckpointMetadata,
libs/prebuilt/tests/memory_assert.py:34
↓ 8 callersMethodqsize
Return the approximate size of the queue (not reliable!).
libs/langgraph/langgraph/_internal/_queue.py:120
↓ 8 callersMethodset
Set the cached values for the given keys and TTLs.
libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py:78
↓ 8 callersMethodset_timeout
Set the per-attempt timeout policy for this node.
libs/langgraph/langgraph/pregel/main.py:359
↓ 8 callersFunctiontokenize_path
Tokenize a path into components. !!! info "Types handled" - Simple paths: "field1.field2" - Array indexing: "[0]", "[*]", "[-1]"
libs/checkpoint/langgraph/store/base/embed.py:333
↓ 8 callersMethodupdate
(self, values: Sequence[Update])
libs/checkpoint/langgraph/checkpoint/serde/types.py:51
↓ 7 callersMethod__anext__
(self)
libs/langgraph/tests/test_remote_graph_v3.py:172
↓ 7 callersMethod_apply_checkpointer_allowlist
( self, checkpointer: BaseCheckpointSaver | None )
libs/langgraph/langgraph/pregel/main.py:838
↓ 7 callersFunction_create_host_backend_client
( host_url: str | None, api_key: str | None, env_vars: dict[str, str] | None = None, )
libs/cli/langgraph_cli/deploy.py:1232
↓ 7 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/checkpoint/postgres/__init__.py:405
↓ 7 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/checkpoint/postgres/aio.py:364
↓ 7 callersFunction_delta_channel_with_type
Build a DeltaChannel with an explicit type via the Annotated injection path.
libs/langgraph/tests/test_channels.py:531
↓ 7 callersMethod_emit
( self, mode: StreamMode, values: Callable[P, Iterator[Any]], *args: P.args,
libs/langgraph/langgraph/pregel/_loop.py:1380
↓ 7 callersFunction_event_namespace
(params_field: Any)
libs/sdk-py/langgraph_sdk/_async/stream.py:100
↓ 7 callersFunction_make_simple_graph
()
libs/langgraph/tests/test_stream_data_transformers.py:499
↓ 7 callersMethod_mark_iterated
Record that an inbox has an active consumer. If the handle is already closed (status != 'started'), immediately enqueue a sentinel so
libs/sdk-py/langgraph_sdk/_sync/stream.py:710
↓ 7 callersMethod_migrate_checkpoint
Migrate a saved checkpoint to new channel layout.
libs/langgraph/langgraph/pregel/main.py:1136
↓ 7 callersMethod_revive_lc2
(self, value: dict[str, Any])
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:181
↓ 7 callersFunction_setup_source_thread
Create n checkpoints on tid (optionally across namespaces). Returns stored configs.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:18
↓ 7 callersFunction_tasks_result
Build a `tasks` ProtocolEvent carrying a TaskResultPayload (finish).
libs/langgraph/tests/test_stream_lifecycle_transformer.py:62
↓ 7 callersMethod_unregister_subscription
Remove a subscription from the registry. No-op if already absent.
libs/sdk-py/langgraph_sdk/_async/stream.py:1327
↓ 7 callersFunction_write_project
( tmp_path: pathlib.Path, *, dep_subdir: str = ".", uv_lock: str | None = None, pyproject:
libs/cli/tests/unit_tests/test_dependency_tracking.py:11
↓ 7 callersMethodabatch
Execute multiple operations asynchronously in a single batch. Args: ops: An iterable of operations to execute. Returns:
libs/checkpoint/langgraph/store/base/__init__.py:745
↓ 7 callersMethodadd_sequence
Add a sequence of nodes that will be executed in the provided order. Args: nodes: A sequence of `StateNode` (callables that accep
libs/langgraph/langgraph/graph/state.py:1019
↓ 7 callersMethodadelete
Asynchronously delete an item. Args: namespace: Hierarchical path for the item. key: Unique identifier within the nam
libs/checkpoint/langgraph/store/base/__init__.py:1198
↓ 7 callersMethodadelete_for_runs
Asynchronously delete all checkpoints and writes for the given run IDs. Args: run_ids: The run IDs whose checkpoints should be de
libs/checkpoint/langgraph/checkpoint/base/__init__.py:522
↓ 7 callersMethodalist_namespaces
List and filter namespaces in the store asynchronously. Used to explore the organization of data, find specific collections, or navig
libs/checkpoint/langgraph/store/base/__init__.py:1207
↓ 7 callersMethodbind_pump
Wire the sync pull callback onto every projection in this mux. Records the pump on the mux so child mini-muxes built by `_make_child`
libs/langgraph/langgraph/stream/_mux.py:162
↓ 7 callersFunctioncheckpoints_event
( seq: int = 0, namespace: list[str] | None = None, **data: Any )
libs/sdk-py/tests/streaming/_events.py:84
↓ 7 callersMethodclose
(self)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:323
↓ 7 callersMethodclose
Tear down the controller, awaiting any pending rotation closes.
libs/sdk-py/langgraph_sdk/stream/controller.py:164
↓ 7 callersFunctioncoerce_to_runnable
Coerce a runnable-like object into a Runnable. Args: thing: A runnable-like object. Returns: A Runnable.
libs/langgraph/langgraph/_internal/_runnable.py:529
↓ 7 callersFunctioncreate_archive
Context manager that creates a .tar.gz archive of the project source. Uses _assemble_local_deps to discover local dependencies referenced in
libs/cli/langgraph_cli/archive.py:63
↓ 7 callersFunctioncreate_error_message
(*, message: str, error_code: ErrorCode)
libs/langgraph/langgraph/errors.py:42
↓ 7 callersFunctiondefault_base_image
( config: Config, engine_runtime_mode: str = "combined_queue_worker" )
libs/cli/langgraph_cli/config.py:1554
↓ 7 callersMethoddict
(self)
libs/checkpoint/langgraph/store/base/__init__.py:105
↓ 7 callersFunctionempty_checkpoint
()
libs/langgraph/langgraph/pregel/_checkpoint.py:28
↓ 7 callersMethodfrom_pycryptodome_aes
Create an `EncryptedSerializer` using AES encryption.
libs/checkpoint/langgraph/checkpoint/serde/encrypted.py:39
↓ 7 callersMethodget
Retrieve a single item. Args: namespace: Hierarchical path for the item. key: Unique identifier within the namespace.
libs/checkpoint/langgraph/store/base/__init__.py:756
↓ 7 callersMethodget_delta_channel_history
Override: walk the parent chain ONCE for all requested channels. Each channel terminates independently at the nearest ancestor whose
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:142
↓ 7 callersFunctioninfer_channel
Map a protocol event's `method` to its subscription channel. Returns `None` for unrecognized methods so new server-side channels (e.g. from e
libs/sdk-py/langgraph_sdk/stream/subscription.py:68
↓ 7 callersMethodinterrupted
Drive the run to completion, then return whether it was interrupted. Raises: BaseException: If the run ended with an erro
libs/langgraph/langgraph/stream/run_stream.py:193
↓ 7 callersFunctionis_prefix_match
Whether `event_namespace` starts with `prefix`. Segments compare literally first; if the prefix segment contains no `:`, the candidate is als
libs/sdk-py/langgraph_sdk/stream/subscription.py:19
↓ 7 callersMethodlist
List checkpoints from the database. This method retrieves a list of checkpoint tuples from the SQLite database based on the provided
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:295
↓ 7 callersMethodlist_deployments
(self, name_contains: str = "")
libs/cli/tests/unit_tests/cli/test_cli.py:358
↓ 7 callersMethodoverride
Replace the request with a new request with the given overrides. Returns a new `ToolCallRequest` instance with the specified attributes repla
libs/prebuilt/langgraph/prebuilt/tool_node.py:170
↓ 7 callersMethodpatch
Return a new execution info object with selected fields replaced.
libs/langgraph/langgraph/runtime.py:55
↓ 7 callersFunctionread_channels
( channels: Mapping[str, BaseChannel], select: Sequence[str] | str, *, skip_empty: bool = True
libs/langgraph/langgraph/pregel/_io.py:38
↓ 7 callersMethodscript_sequence
(self, scripts: list[SyncStreamScript])
libs/sdk-py/tests/streaming/_sync_fake_server.py:65
↓ 7 callersFunctionset_config_context
Set the child Runnable config + tracing context. Args: config: The config to set.
libs/langgraph/langgraph/_internal/_runnable.py:106
↓ 7 callersFunctionsubp_exec
( cmd: str, *args: str, input: str | None = None, wait: float | None = None, verbose: bool
libs/cli/langgraph_cli/exec.py:31
↓ 6 callersFunction_aencode_json
(json: Any)
libs/sdk-py/langgraph_sdk/_async/http.py:290
↓ 6 callersFunction_araise_for_status_typed
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/errors.py:213
↓ 6 callersFunction_build_context_reading_graph
()
libs/langgraph/tests/test_stream_events_v3_kwarg_forwarding.py:41
↓ 6 callersFunction_build_graph
(caller, tools)
libs/langgraph/tests/test_tool_stream_handler.py:57
↓ 6 callersFunction_checkpoint_summary
Summarize checkpoint history into a readable format for assertions. Returns a list of dicts (newest-first, matching get_state_history order) with
libs/langgraph/tests/test_time_travel.py:34
↓ 6 callersFunction_checkpoint_summary
Summarize checkpoint history into a readable format for assertions. Returns a list of dicts (newest-first, matching get_state_history order) with
libs/langgraph/tests/test_time_travel_async.py:43
↓ 6 callersMethod_ensure_fanout_running
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:1601
↓ 6 callersMethod_ensure_fanout_running
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1214
↓ 6 callersFunction_ensure_refresh
( ttl_config: TTLConfig | None, refresh_ttl: bool | None = None )
libs/checkpoint/langgraph/store/base/__init__.py:1286
↓ 6 callersMethod_ensure_task
Ensure the background processing loop is running.
libs/checkpoint/langgraph/store/base/batch.py:77
↓ 6 callersFunction_event_namespace
(params_field: Any)
libs/sdk-py/langgraph_sdk/_sync/stream.py:86
↓ 6 callersMethod_finish
(self, output: Any)
libs/sdk-py/langgraph_sdk/_async/stream.py:1017
↓ 6 callersMethod_get_checkpoint
(self, config: RunnableConfig | None)
libs/langgraph/langgraph/pregel/remote.py:380
↓ 6 callersFunction_invoke_returning
( return_value: Any, *, outer_id: str = "call-1", handle_tool_errors: bool = True, )
libs/prebuilt/tests/test_tool_node.py:2253
↓ 6 callersMethod_load_blobs
( self, blob_values: list[tuple[bytes, bytes, bytes]] )
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:375
↓ 6 callersMethod_mark_terminal
Mark a handle terminal once. Returns True on first transition.
libs/langgraph/langgraph/stream/transformers.py:760
↓ 6 callersFunction_provided_vals
(d: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/_shared/utilities.py:197
↓ 6 callersMethod_reconcile_stream
Ensure the shared SSE covers `candidate_filter`. Rotate if not. Open-new-before-close-old: any events buffered server-side between th
libs/sdk-py/langgraph_sdk/_async/stream.py:1708
↓ 6 callersMethod_register_subscription
(self, params: SubscribeParams)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1205
↓ 6 callersMethod_reject_v3_unsupported
Raise NotImplementedError for kwargs unsupported by the v3 streaming path.
libs/langgraph/langgraph/pregel/remote.py:195
↓ 6 callersFunction_resolve_env_path
Return the .env file path implied by the config, or None for inline dicts.
libs/cli/langgraph_cli/deploy.py:504
↓ 6 callersFunction_resolve_timezone
Convert a timezone argument to an IANA timezone string. Accepts: - A string (returned as-is, assumed to be an IANA timezone name)
libs/sdk-py/langgraph_sdk/_shared/utilities.py:133
↓ 6 callersMethod_runner
(stdout: str | None)
libs/cli/tests/unit_tests/test_deploy_helpers.py:606
↓ 6 callersFunction_saver
(name: str)
libs/checkpoint-postgres/tests/test_async.py:143
↓ 6 callersFunction_scratchpad
( parent_scratchpad: PregelScratchpad | None, pending_writes: list[PendingWrite], task_id: str,
libs/langgraph/langgraph/pregel/_algo.py:1280
↓ 6 callersFunction_subscribe
(log: StreamChannel)
libs/prebuilt/tests/test_tool_call_transformer.py:71
↓ 6 callersFunction_tasks_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:60
↓ 6 callersFunction_tasks_result
( namespace: list[str], *, task_id: str, name: str, error: str | None = None, interrup
libs/langgraph/tests/test_stream_subgraph_transformer.py:70
↓ 6 callersMethod_unregister_subscription
(self, subscription_id: int)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1210
↓ 6 callersFunction_unstamped
Strip push stamps from a StreamChannel's internal buffer.
libs/prebuilt/tests/test_tool_call_transformer.py:33
↓ 6 callersMethod_validate_client
(self)
libs/langgraph/langgraph/pregel/remote.py:181
↓ 6 callersMethod_validate_sync_client
(self)
libs/langgraph/langgraph/pregel/remote.py:188
↓ 6 callersMethodabatch
(self, ops: Iterable[Op])
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1112
↓ 6 callersMethodaclose
(self)
libs/sdk-py/tests/test_client_stream.py:51
↓ 6 callersMethodadelete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:602
↓ 6 callersMethodaget_tuple
Get a checkpoint tuple from the database asynchronously. This method retrieves a checkpoint tuple from the Postgres database based on the
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:181
↓ 6 callersMethodbatch
Execute a batch of operations. Args: ops (Iterable[Op]): List of operations to execute Returns: list[Result]
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1236
↓ 6 callersMethodbatch
(self, ops: Iterable[Op])
libs/checkpoint-postgres/langgraph/store/postgres/base.py:982
↓ 6 callersMethodbulk_update_state
Apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: config: The config to apply the updates to.
libs/langgraph/langgraph/pregel/main.py:1590
↓ 6 callersMethodclose
(self)
libs/sdk-py/tests/streaming/test_sync_transport_ws.py:42
↓ 6 callersMethoderror
(self, message: str, **extra: object)
libs/cli/langgraph_cli/deploy.py:165
↓ 6 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:350
← previousnext →301–400 of 6,698, ranked by callers