MCPcopy Create free account

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

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

↓ 5 callersFunctionget_text_at_path
Extract text from an object using a path expression or pre-tokenized path. Args: obj: The object to extract text from path: Eithe
libs/checkpoint/langgraph/store/base/embed.py:233
↓ 5 callersMethodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided c
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:192
↓ 5 callersFunctionhas_disallowed_build_command_content
Check if a command string contains disallowed characters or patterns.
libs/cli/langgraph_cli/config.py:77
↓ 5 callersMethodinterrupts
Drive the run to completion, then return interrupt payloads. Raises: BaseException: If the run ended with an error.
libs/langgraph/langgraph/stream/run_stream.py:243
↓ 5 callersMethodjson
Register the JSON encryption handler. Example: ```python @encryption.encrypt.json async def encrypt_json(
libs/sdk-py/langgraph_sdk/encryption/__init__.py:109
↓ 5 callersFunctionlifecycle_errored_event
Lifecycle event with `event="failed"` and an error message.
libs/sdk-py/tests/streaming/_events.py:63
↓ 5 callersMethodloads_typed
(self, data: tuple[str, bytes])
libs/langgraph/tests/memory_assert.py:23
↓ 5 callersMethodlog
(self, message: str)
libs/cli/langgraph_cli/deploy.py:371
↓ 5 callersFunctionmake_state_graph
()
libs/langgraph/tests/test_checkpoint_migration.py:1423
↓ 5 callersFunctionnode
(state: State, writer: StreamWriter)
libs/langgraph/tests/test_pregel.py:3466
↓ 5 callersMethodparse
(cls, reference: str)
libs/cli/langgraph_cli/image_reference.py:17
↓ 5 callersFunctionpatch_checkpoint_map
( config: RunnableConfig | None, metadata: CheckpointMetadata | None )
libs/langgraph/langgraph/_internal/_config.py:63
↓ 5 callersMethodput_writes
Put writes for a task, to be read by the next tick.
libs/langgraph/langgraph/pregel/_loop.py:430
↓ 5 callersMethodreconcile_stream
(self, candidate_filter: SubscribeParams)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:119
↓ 5 callersFunctionrun_with_retry
Run a task with retries.
libs/langgraph/langgraph/pregel/_retry.py:573
↓ 5 callersMethodsetup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the SQLite database if they don't already
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:305
↓ 5 callersMethodsetup
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/__init__.py:85
↓ 5 callersMethodsetup
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/aio.py:90
↓ 5 callersFunctiontask_path_str
Generate a string representation of the task path.
libs/langgraph/langgraph/pregel/_algo.py:1412
↓ 5 callersFunctiontool_error_event
( seq: int = 0, namespace: list[str] | None = None, *, tool_call_id: str = "call-1", messa
libs/sdk-py/tests/streaming/_events.py:255
↓ 5 callersMethodtransformer_by_key
Return the transformer that contributed `key` to the projection.
libs/langgraph/langgraph/stream/_mux.py:150
↓ 5 callersMethodwith_msgpack_allowlist
Return a new serializer with a merged msgpack allowlist.
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:128
↓ 4 callersFunction_AnyIdAIMessageChunk
Create ai message with an any id field.
libs/langgraph/tests/messages.py:32
↓ 4 callersMethod__aiter__
Subscribe and return an async cursor. Can be called only once. Raises: TypeError: If the channel is unbound or bound to sync mode
libs/langgraph/langgraph/stream/stream_channel.py:202
↓ 4 callersMethod__init__
(self, scope: tuple[str, ...] = (), *, label: str = "tap")
libs/langgraph/tests/test_stream_before_builtins.py:40
↓ 4 callersMethod__init__
( self, message: str, response_or_request: httpx.Response | httpx.Request, *,
libs/sdk-py/langgraph_sdk/errors.py:26
↓ 4 callersFunction_aexpire_now
Backdate a row's expires_at into the past without deleting it (unswept).
libs/checkpoint-postgres/tests/test_async_store.py:744
↓ 4 callersFunction_always_error_transport
Return a fake transport whose open_event_stream always raises.
libs/sdk-py/tests/streaming/test_controller.py:186
↓ 4 callersMethod_bind_pump
Wire the sync pull callback. Called by GraphRunStream._wire_request_more.
libs/langgraph/langgraph/stream/transformers.py:216
↓ 4 callersFunction_build_chain
Store `seed_value` at step 1, then two steps that store nothing. Every step carries a write so the walk has something to collect. Returns `(t
libs/checkpoint-postgres/tests/test_delta_plain_value_seed.py:27
↓ 4 callersFunction_build_chain_after_a_delta_channel
()
libs/langgraph/tests/test_pregel.py:9423
↓ 4 callersFunction_build_graph
(caller, tools)
libs/prebuilt/tests/test_tool_call_transformer.py:279
↓ 4 callersFunction_build_send_fan_out
(checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_delta_channel_fork.py:808
↓ 4 callersFunction_caller_sync
(tool_name: str, tool_args: dict[str, Any], tc_id: str = "tc1")
libs/langgraph/tests/test_tool_stream_handler.py:29
↓ 4 callersFunction_checkpoint
(checkpoint_id: str, values: dict[str, Any])
libs/checkpoint-sqlite/tests/test_delta_parent_walk.py:25
↓ 4 callersFunction_checkpoints_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:44
↓ 4 callersFunction_child_namespace
(app: Any, config: dict, *, depth: int = 1)
libs/langgraph/tests/test_delta_channel_subgraph.py:91
↓ 4 callersFunction_create_config_with_runtime
Create a RunnableConfig with mock Runtime for testing ToolNode. Returns: RunnableConfig with __pregel_runtime in configurable dict.
libs/prebuilt/tests/test_react_agent.py:81
↓ 4 callersMethod_create_project
Create a small project structure for testing.
libs/cli/tests/unit_tests/test_archive.py:121
↓ 4 callersMethod_create_state_snapshot
(self, state: ThreadState)
libs/langgraph/langgraph/pregel/remote.py:322
↓ 4 callersMethod_cursor
Create a database cursor as a context manager. Args: transaction (bool): whether to use transaction for the DB operations
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1040
↓ 4 callersFunction_debug_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:52
↓ 4 callersFunction_decode_ns_bytes
(namespace: str | bytes | list)
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1406
↓ 4 callersFunction_decode_ns_text
Convert namespace string to tuple.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:167
↓ 4 callersFunction_delta_counters
(saver: InMemorySaver, config: Any)
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:177
↓ 4 callersFunction_docker_config_for_token
Create a temporary Docker config with only the push token. Yields the path to a temporary config directory that can be passed to `docker --co
libs/cli/langgraph_cli/deploy.py:1024
↓ 4 callersFunction_drain
(buf: MultiCursorBuffer[int])
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:8
↓ 4 callersFunction_ensure_ttl
( ttl_config: TTLConfig | None, ttl: float | None | NotProvided = NOT_PROVIDED, )
libs/checkpoint/langgraph/store/base/__init__.py:1296
↓ 4 callersFunction_event_namespace
(params_field: Any)
libs/sdk-py/langgraph_sdk/stream/decoders.py:52
↓ 4 callersFunction_exception
Return the exception from a future, without raising CancelledError.
libs/langgraph/langgraph/pregel/_runner.py:639
↓ 4 callersFunction_expire_now
Backdate a row's expires_at into the past without deleting it (unswept).
libs/checkpoint-postgres/tests/test_store.py:991
↓ 4 callersMethod_fail
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_sync/stream.py:530
↓ 4 callersMethod_finish
(self, output: Any)
libs/sdk-py/langgraph_sdk/_sync/stream.py:523
↓ 4 callersFunction_get_pip_cleanup_lines
( install_cmd: str, to_uninstall: tuple[str] | None, pip_installer: Literal["uv", "pip"], )
libs/cli/langgraph_cli/config.py:151
↓ 4 callersFunction_handle_tool_error
Generate error message content based on exception handling configuration. This function centralizes error message generation logic, supporting di
libs/prebuilt/langgraph/prebuilt/tool_node.py:394
↓ 4 callersFunction_make_error_subgraph
Graph with a subgraph that raises.
libs/langgraph/tests/test_stream_events_v3_e2e.py:167
↓ 4 callersFunction_make_remote_graph
()
libs/langgraph/tests/test_remote_graph_v3.py:410
↓ 4 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/_async/stream.py:648
↓ 4 callersFunction_merge_tracing_headers
(headers: dict[str, str] | None)
libs/langgraph/langgraph/pregel/remote.py:1297
↓ 4 callersMethod_migrate_pending_sends
( self, pending_sends: list[tuple[bytes, bytes]], checkpoint: dict[str, Any],
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:331
↓ 4 callersFunction_namespace_to_text
Convert namespace tuple to text string.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:162
↓ 4 callersMethod_reapply_writes_to_succeeded_nodes
Restore the output of finished tasks from checkpoint to in-memory tasks. Unfinished (failed or interrupted) tasks keep empty writes, so the
libs/langgraph/langgraph/pregel/_loop.py:772
↓ 4 callersFunction_recording_handler
(gets: list[str])
libs/sdk-py/tests/streaming/test_thread_stream_path_encoding.py:29
↓ 4 callersMethod_search_where
Return WHERE clause predicates for alist() given config, filter, before. This method returns a tuple of a string and a tuple of values. The s
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:605
↓ 4 callersFunction_serde_roundtrip
(data: Any)
libs/sdk-py/tests/test_serde.py:11
↓ 4 callersFunction_stream_part
( method: str, namespace: tuple[str, ...], data: Any, )
libs/langgraph/tests/test_stream_subgraph_transformer.py:105
↓ 4 callersFunction_subgraph_transformer
(mux: StreamMux)
libs/langgraph/tests/test_stream_subgraph_transformer.py:156
↓ 4 callersFunction_tool_events
Collect `(ns, payload)` for every `tools`-mode chunk.
libs/langgraph/tests/test_tool_stream_handler.py:67
↓ 4 callersFunction_trace_payload
Return the payload to record on a run for `value`. When `transform` is unset this is a passthrough, so unspecified nodes record exactly as be
libs/langgraph/langgraph/_internal/_runnable.py:70
↓ 4 callersFunction_unique_namespace
(label: str)
libs/sdk-py/tests/integration/test_store.py:31
↓ 4 callersFunction_unstamped
Strip push stamps from a StreamChannel's internal buffer.
libs/langgraph/tests/test_stream_subgraph_transformer.py:162
↓ 4 callersFunction_validate_handler
Validates that an auth handler function meets the required signature. Auth handlers must: 1. Be async functions 2. Accept a ctx parameter
libs/sdk-py/langgraph_sdk/auth/__init__.py:889
↓ 4 callersFunction_validate_handler
Validate that a handler function has the correct signature. Args: fn: The handler function to validate handler_type: Description
libs/sdk-py/langgraph_sdk/encryption/__init__.py:44
↓ 4 callersFunction_validate_namespace
(namespace: tuple[str, ...])
libs/checkpoint/langgraph/store/base/__init__.py:1263
↓ 4 callersFunction_validate_reconnect_location
Validate that a reconnect Location URL is same-origin as the base URL. Raises ValueError if the Location header points to a different origin
libs/sdk-py/langgraph_sdk/_shared/utilities.py:167
↓ 4 callersFunctionachannels_from_checkpoint
Async version of `channels_from_checkpoint`. See docstring there.
libs/langgraph/langgraph/pregel/_checkpoint.py:435
↓ 4 callersMethodalist
List checkpoints from the database asynchronously. This method retrieves a list of checkpoint tuples from the Postgres database based
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:119
↓ 4 callersMethodamong
(self, listeners: Sequence[Listener])
libs/cli/langgraph_cli/deploy.py:246
↓ 4 callersMethodaput
( self, config: RunnableConfig, checkpoint: Checkpoint, metada
libs/langgraph/tests/test_pregel_async.py:321
↓ 4 callersMethodastream
( self, input: dict[str, Any] | Any, config: RunnableConfig | None = None, *,
libs/langgraph/langgraph/pregel/remote.py:879
↓ 4 callersMethodastream_events
Async-stream events from this remote graph. For `version="v3"`, awaits to an `_AsyncRemoteGraphRunStream`, matching the local `Pregel
libs/langgraph/langgraph/pregel/remote.py:1080
↓ 4 callersMethodbind_tools
( self, tools: Sequence[dict[str, Any] | type[BaseModel] | Callable | BaseTool], **kwa
libs/prebuilt/tests/model.py:60
↓ 4 callersFunctionbuild_event_stream_body
(params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/base.py:57
↓ 4 callersFunctionbuild_websocket_url
Convert an HTTP base URL plus API path into a WebSocket URL.
libs/sdk-py/langgraph_sdk/stream/transport/base.py:69
↓ 4 callersMethodclear
Delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.
libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py:98
↓ 4 callersMethodclose
Tear down the thread stream. Idempotent.
libs/sdk-py/langgraph_sdk/_async/stream.py:1292
↓ 4 callersMethodclose
(self)
libs/sdk-py/langgraph_sdk/stream/multi_cursor_buffer.py:30
↓ 4 callersMethodconfig_schema
(self, *, include: Sequence[str] | None = None)
libs/langgraph/langgraph/pregel/main.py:1018
↓ 4 callersMethoddelete_item
Delete an item. Args: key: The unique identifier for the item. namespace: Optional list of strings representing the n
libs/sdk-py/langgraph_sdk/_async/store.py:144
↓ 4 callersFunctiondelta_channels_to_snapshot
Return the set of DeltaChannel names that should snapshot now. A channel snapshots when EITHER its accumulated update count reaches `snapshot
libs/langgraph/langgraph/pregel/_checkpoint.py:63
↓ 4 callersFunctiondelta_channels_with_pending_writes
DeltaChannels a branch starting from this checkpoint must snapshot. A checkpoint's pending writes belong to the child that consumed them, and
libs/langgraph/langgraph/pregel/_checkpoint.py:113
↓ 4 callersMethodfrom_control_plane_url
(cls, url: str)
libs/cli/langgraph_cli/host_backend.py:48
↓ 4 callersMethodfrom_resource
(cls, resource: Mapping[str, object])
libs/cli/langgraph_cli/deploy.py:172
↓ 4 callersFunctionfunc
()
libs/langgraph/tests/test_utils.py:50
↓ 4 callersMethodget
Fetch a checkpoint using the given configuration. Args: config: Configuration specifying which checkpoint to retrieve. R
libs/checkpoint/langgraph/checkpoint/base/__init__.py:228
↓ 4 callersMethodget
Get a thread by ID. Args: thread_id: The ID of the thread to get. include: Additional fields to include in the respon
libs/sdk-py/langgraph_sdk/_sync/threads.py:47
↓ 4 callersFunctionget_checkpoint_metadata
Get checkpoint metadata in a backwards-compatible manner.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:758
↓ 4 callersMethodget_context_jsonschema
(self)
libs/langgraph/langgraph/pregel/main.py:1058
↓ 4 callersFunctionget_expected_history
(*, exc_task_results: int = 0)
libs/langgraph/tests/test_checkpoint_migration.py:26
↓ 4 callersMethodget_history
Get the state history of a thread. Args: thread_id: The ID of the thread to get the state history for. checkpoint: Re
libs/sdk-py/langgraph_sdk/_async/threads.py:687
← previousnext →501–600 of 7,100, ranked by callers