MCPcopy Create free account

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

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

↓ 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:1712
↓ 6 callersMethod_register_subscription
(self, params: SubscribeParams)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1209
↓ 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:694
↓ 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 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 callersMethod_state_checkpointer
(self, config: RunnableConfig)
libs/langgraph/langgraph/pregel/main.py:863
↓ 6 callersMethod_subgraph_for_namespace
The subgraph a state method's namespaced config addresses, and the config to call it with, lending it `checkpointer`. `None` when the
libs/langgraph/langgraph/pregel/main.py:886
↓ 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:1214
↓ 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 callersFunction_validate_prebuilt_image
Ensure a prebuilt image exists locally for linux/amd64.
libs/cli/langgraph_cli/deploy.py:556
↓ 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 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:345
↓ 6 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:350
↓ 6 callersFunctionfind_deployment_by_name
( client: HostBackendClient, name: str )
libs/cli/langgraph_cli/deploy.py:508
↓ 6 callersFunctionformat_log_entry
Format a single log entry for display.
libs/cli/langgraph_cli/deploy.py:667
↓ 6 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/_async/threads.py:48
↓ 6 callersFunctionget_async_callback_manager_for_config
Get an async callback manager for a config. Args: config: The config. Returns: AsyncCallbackManager: The async callback mana
libs/langgraph/langgraph/_internal/_config.py:275
↓ 6 callersFunctionget_callback_manager_for_config
Get a callback manager for a config. Args: config: The config. Returns: CallbackManager: The callback manager.
libs/langgraph/langgraph/_internal/_config.py:236
↓ 6 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
↓ 6 callersMethodheartbeat
(self, status: str, elapsed_seconds: float)
libs/cli/langgraph_cli/deploy.py:428
↓ 6 callersMethodinit
(self)
libs/langgraph/langgraph/stream/transformers.py:213
↓ 6 callersFunctionis_async_callable
Check if a function is async.
libs/langgraph/langgraph/_internal/_runnable.py:528
↓ 6 callersFunctionlevel_fg
Return click color for a log level.
libs/cli/langgraph_cli/deploy.py:679
↓ 6 callersMethodlist_deployments
(self, name_contains: str = "")
libs/cli/tests/unit_tests/cli/test_cli.py:383
↓ 6 callersFunctionmake_response
( status: int, *, json_body: dict | None = None, text_body: str | None = None, headers: di
libs/sdk-py/tests/test_errors.py:23
↓ 6 callersMethodmerge
Merge two runtimes together. If a value is not provided in the other runtime, the value from the current runtime is used.
libs/langgraph/langgraph/runtime.py:240
↓ 6 callersMethodopen_event_stream
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/sync_ws.py:69
↓ 6 callersFunctionprepare_args_and_stdin
( *, capabilities: DockerCapabilities, config_path: pathlib.Path, config: Config, docker_c
libs/cli/langgraph_cli/cli.py:930
↓ 6 callersMethodreconcile_stream
Public alias for `_reconcile_stream`.
libs/sdk-py/langgraph_sdk/stream/controller.py:349
↓ 6 callersMethodrun
(self, ctx: DeployContext)
libs/cli/langgraph_cli/deploy.py:1469
↓ 6 callersMethodschedule
Schedule a coroutine tied to this transformer's lifecycle. The mux holds the task reference, awaits all scheduled tasks during `aclos
libs/langgraph/langgraph/stream/_types.py:233
↓ 5 callersMethod__anext__
(self)
libs/sdk-py/langgraph_sdk/stream/multi_cursor_buffer.py:57
↓ 5 callersMethod__init__
(self, reason: str = "shutdown")
libs/langgraph/langgraph/errors.py:62
↓ 5 callersFunction_add_directory
Recursively add a directory to the tarball under the given prefix. If arcname_prefix is None, files are added at the archive root. Paths matc
libs/cli/langgraph_cli/archive.py:28
↓ 5 callersFunction_adecode_json
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/_async/http.py:306
↓ 5 callersFunction_capturing_client
(captured: dict)
libs/cli/tests/unit_tests/test_host_backend.py:82
↓ 5 callersFunction_create_vector_store
Create a store with vector search enabled.
libs/checkpoint-postgres/tests/test_store.py:504
↓ 5 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/shallow.py:487
↓ 5 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/shallow.py:824
↓ 5 callersFunction_custom_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:36
↓ 5 callersFunction_decode_json
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/_sync/http.py:301
↓ 5 callersFunction_delta_graph
(checkpointer: Any)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:59
↓ 5 callersMethod_emit
(self, meta: Meta, message: BaseMessage, *, dedupe: bool = False)
libs/langgraph/langgraph/pregel/_messages.py:97
↓ 5 callersFunction_encode_json
(json: Any)
libs/sdk-py/langgraph_sdk/_sync/http.py:289
↓ 5 callersFunction_ensure_execution_info
Ensure runtime has execution_info, creating one from config if needed. In the distributed runtime (LangGraph Platform), tasks are prepared by the
libs/langgraph/langgraph/pregel/_retry.py:520
↓ 5 callersMethod_fail
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_async/stream.py:1029
↓ 5 callersFunction_make_capture_graph
Helper: build a simple graph that captures runtime info.
libs/langgraph/tests/test_runtime.py:967
↓ 5 callersMethod_make_client
(self, handler)
libs/cli/tests/unit_tests/test_deploy_helpers.py:274
↓ 5 callersMethod_make_project
Set up a minimal project directory with a config file.
libs/cli/tests/unit_tests/test_archive.py:189
↓ 5 callersFunction_msgpack_enc
(data: Any)
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:859
↓ 5 callersFunction_node_run
(tracer: FakeTracer, name: str)
libs/langgraph/tests/test_trace_policy.py:17
↓ 5 callersFunction_normalize_package_name
(name: str)
libs/cli/langgraph_cli/uv_lock.py:88
↓ 5 callersFunction_normalize_stream_transformer_factories
Normalize stream transformer specs to scoped factories. A stream transformer spec is a callable that accepts `scope: tuple[str, ...]` and ret
libs/langgraph/langgraph/pregel/main.py:423
↓ 5 callersFunction_put_with_run_id
Put a checkpoint with a run_id in metadata, return stored config.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:18
↓ 5 callersMethod_sanitize_config
Sanitize the config to remove non-serializable fields.
libs/langgraph/langgraph/pregel/remote.py:407
↓ 5 callersFunction_saver
(name: str)
libs/checkpoint-postgres/tests/test_sync.py:125
↓ 5 callersFunction_select_source
( *, push_to: str | None, image: str | None, image_name: str | None, tag: str | None,
libs/cli/langgraph_cli/deploy.py:1736
↓ 5 callersFunction_settled_boundaries
Return `[(config, items), ...]` for every checkpoint in `history` whose `next == ('__start__',)` — the stable boundaries between invokes.
libs/langgraph/tests/test_delta_channel_migration.py:121
↓ 5 callersFunction_setup_thread
Create n checkpoints on tid. Returns stored configs.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:18
↓ 5 callersFunction_translate_command_input
Translate a local `Command` into the v3 wire `input`, else passthrough. The v3 server decides start-vs-resume from thread state (an interrupted
libs/langgraph/langgraph/pregel/_remote_run_stream.py:21
↓ 5 callersFunction_updates_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:68
↓ 5 callersMethodabatch
Async batch operation - not supported in SqliteStore. Use AsyncSqliteStore for async operations.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1475
↓ 5 callersMethodabulk_update_state
Asynchronously apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: config: The config to apply the
libs/langgraph/langgraph/pregel/main.py:2106
↓ 5 callersMethodaembed_documents
Asynchronously embed a list of texts into vectors. Args: texts: list of texts to convert to embeddings. Returns:
libs/checkpoint/langgraph/store/base/embed.py:197
↓ 5 callersMethodaput_writes
Store intermediate writes linked to a checkpoint asynchronously. This method saves intermediate writes associated with a checkpoint to the da
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:307
↓ 5 callersFunctionauto_respond_async
Spawn a background task that responds to the first interrupt and exits. Opens a private `thread.values` subscription and drains it; the SDK's
libs/sdk-py/integration/scripts/_common.py:71
↓ 5 callersFunctionauto_respond_sync
Sync analogue of `auto_respond_async`.
libs/sdk-py/integration/scripts/_common.py:95
↓ 5 callersMethodbatch
Execute multiple operations synchronously in a single batch. Args: ops: An iterable of operations to execute. Returns:
libs/checkpoint/langgraph/store/base/__init__.py:733
↓ 5 callersMethodbatch
(self, ops: Iterable[Op])
libs/checkpoint/tests/test_store.py:158
↓ 5 callersMethodbind_tools
(self, functions: list)
libs/langgraph/tests/fake_chat.py:19
↓ 5 callersFunctionbuild_delta_chain
Build a parent chain with `_DeltaSnapshot` at known positions. Args: saver: Checkpointer instance. thread_id: Defaults to a rando
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/_delta_fixtures.py:20
↓ 5 callersMethodconfigure
( cls, callbacks: object | None = None, *, run_id: UUID | None = None, )
libs/langgraph/langgraph/callbacks.py:256
↓ 5 callersFunctionconvert_to_protocol_event
Convert a v2 StreamPart to a ProtocolEvent. Args: part: A stream part with keys `type`, `ns`, `data`, and optionally `interru
libs/langgraph/langgraph/stream/_convert.py:10
↓ 5 callersFunctioncopy_checkpoint
(checkpoint: Checkpoint)
libs/langgraph/langgraph/pregel/_checkpoint.py:474
↓ 5 callersFunctioncreate_model
Create a pydantic model with the given field definitions. Attention: Please do not use outside of langchain packages. This API is
libs/langgraph/langgraph/_internal/_pydantic.py:181
↓ 5 callersMethoddecode
(self, text: bytes)
libs/sdk-py/langgraph_sdk/sse.py:29
↓ 5 callersMethoddispatch
(self, data)
libs/sdk-py/tests/streaming/test_decoders.py:87
↓ 5 callersMethoddump
(self, fileobj: Any)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:678
↓ 5 callersMethodemit_output_delta
Stream a partial output chunk on the `tools` stream channel. Reads the per-tool-call writer that `StreamToolCallHandler` installs on
libs/prebuilt/langgraph/prebuilt/tool_node.py:1732
↓ 5 callersFunctionformat_timestamp
Convert a timestamp (epoch ms or string) to a readable string.
libs/cli/langgraph_cli/deploy.py:659
↓ 5 callersMethodget
Get an assistant by ID. Args: assistant_id: The ID of the assistant to get. headers: Optional custom headers to inclu
libs/sdk-py/langgraph_sdk/_async/assistants.py:46
↓ 5 callersMethodget
Get an assistant by ID. Args: assistant_id: The ID of the assistant to get OR the name of the graph (to use the default assistant
libs/sdk-py/langgraph_sdk/_sync/assistants.py:45
↓ 5 callersFunctionget_client
Create and configure a LangGraphClient. The client provides programmatic access to LangSmith Deployment. It supports both remote servers and
libs/sdk-py/langgraph_sdk/_async/client.py:29
↓ 5 callersMethodget_state
Get the state of a thread. Args: thread_id: The ID of the thread to get the state of. checkpoint: The checkpoint to g
libs/sdk-py/langgraph_sdk/_async/threads.py:485
↓ 5 callersFunctionget_sync_client
Get a synchronous LangGraphClient instance. Args: url: The URL of the LangGraph API. api_key: API key for authentication. Can be:
libs/sdk-py/langgraph_sdk/_sync/client.py:20
← previousnext →401–500 of 7,100, ranked by callers