MCPcopy Create free account

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

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

↓ 3 callersMethodprocess
(self, event: ProtocolEvent)
libs/langgraph/langgraph/stream/transformers.py:70
↓ 3 callersMethodput
Put the item on the queue. The optional 'block' and 'timeout' arguments are ignored, as this method never blocks. They are provided
libs/langgraph/langgraph/_internal/_queue.py:79
↓ 3 callersMethodput
( self, config: RunnableConfig, checkpoint: Checkpoint, metada
libs/langgraph/tests/test_pregel.py:203
↓ 3 callersMethodrequest_reconnect
Send a request that automatically reconnects to Location header.
libs/sdk-py/langgraph_sdk/_async/http.py:138
↓ 3 callersMethodrequest_reconnect
Send a request that automatically reconnects to Location header.
libs/sdk-py/langgraph_sdk/_sync/http.py:138
↓ 3 callersMethodsearch
Get a list of cron jobs. Args: assistant_id: The assistant ID or graph name to search for. thread_id: the thread ID t
libs/sdk-py/langgraph_sdk/_sync/cron.py:410
↓ 3 callersFunctionsearch_where
Return WHERE clause predicates for (a)search() given metadata filter and `before` config. This method returns a tuple of a string and a tuple
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/utils.py:76
↓ 3 callersMethodsend
(self, data: str | bytes)
libs/sdk-py/tests/streaming/test_transport_ws.py:37
↓ 3 callersMethodstart_ttl_sweeper
Periodically delete expired store items based on TTL. Returns: Future that can be waited on or cancelled.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:850
↓ 3 callersMethodstatus_change
( self, status: str, elapsed_seconds: float, finished: bool = False, )
libs/cli/langgraph_cli/deploy.py:171
↓ 3 callersMethodstep
(self, step: int, message: str, **extra: object)
libs/cli/langgraph_cli/deploy.py:139
↓ 3 callersMethodstop_ttl_sweeper
Stop the TTL sweeper thread if it's running. Args: timeout: Maximum time to wait for the thread to stop, in seconds.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1203
↓ 3 callersMethodstream
Stream results using SSE.
libs/sdk-py/langgraph_sdk/_async/http.py:187
↓ 3 callersMethodstream
Stream the results of a request using SSE.
libs/sdk-py/langgraph_sdk/_sync/http.py:187
↓ 3 callersFunctiontasks_w_writes
Apply writes / subgraph states to tasks to be returned in a StateSnapshot.
libs/langgraph/langgraph/pregel/debug.py:209
↓ 3 callersMethodupdate
( self, thread_id: str, *, metadata: Mapping[str, Any], ttl: int | Map
libs/sdk-py/langgraph_sdk/_sync/threads.py:175
↓ 3 callersMethodupdate_deployment_internal_source
Trigger a remote build revision with the uploaded tarball.
libs/cli/langgraph_cli/host_backend.py:141
↓ 3 callersMethodwith_allowlist
Return a shallow clone with a derived msgpack allowlist.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:713
↓ 3 callersMethodwith_structured_output
( self, schema: type[BaseModel] )
libs/prebuilt/tests/model.py:52
↓ 2 callersMethod__aiter__
(self)
libs/langgraph/langgraph/pregel/_remote_run_stream.py:68
↓ 2 callersMethod__aiter__
(self)
libs/langgraph/tests/test_remote_graph_v3.py:169
↓ 2 callersMethod__init__
( self, input: Any | None, *, stream: StreamProtocol | None, config: R
libs/langgraph/langgraph/pregel/_loop.py:274
↓ 2 callersMethod__init__
Initialize the run stream. Args: graph_iter: Pull-based iterator over the graph's stream, or `None` for nested ru
libs/langgraph/langgraph/stream/run_stream.py:67
↓ 2 callersMethod_aclose_or_fail_handle
( self, handle: SubgraphRunStream | AsyncSubgraphRunStream, status: SubgraphStatus,
libs/langgraph/langgraph/stream/transformers.py:788
↓ 2 callersMethod_activate_root_messages_inbox
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1223
↓ 2 callersFunction_adrive
(graph: Any, config: RunnableConfig, n: int)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:74
↓ 2 callersFunction_adrive
(graph: Any, config: dict, tag: str, n: int)
libs/langgraph/tests/test_delta_channel_migration.py:116
↓ 2 callersMethod_aon_terminal
( self, ns: tuple[str, ...], status: SubgraphStatus, error: str | None, )
libs/langgraph/langgraph/stream/transformers.py:749
↓ 2 callersFunction_api_version_sort_key
( version: _ParsedApiVersion, )
libs/cli/langgraph_cli/config.py:188
↓ 2 callersMethod_apply_lifecycle_event
Update `interrupted` / `interrupts` / `_run_done` from a lifecycle or input event.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1580
↓ 2 callersMethod_apply_put_ops
(self, put_ops: dict[tuple[tuple[str, ...], str], PutOp])
libs/checkpoint/langgraph/store/memory/__init__.py:404
↓ 2 callersMethod_aprepare_state_snapshot
( self, config: RunnableConfig, saved: CheckpointTuple | None, recurse: BaseCh
libs/langgraph/langgraph/pregel/main.py:1268
↓ 2 callersFunction_are_more_steps_needed
(state: StateSchema, response: BaseMessage)
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:620
↓ 2 callersFunction_aresolve_model
Async resolve the model to use, handling both static and dynamic models.
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:608
↓ 2 callersFunction_assemble_local_deps
(config_path: pathlib.Path, config: Config)
libs/cli/langgraph_cli/config.py:709
↓ 2 callersFunction_assemble_writes
Assembles the writes into a list of tuples.
libs/langgraph/langgraph/pregel/_write.py:172
↓ 2 callersFunction_astream_parts
(*parts: dict[str, Any])
libs/langgraph/tests/test_stream_subgraph_transformer.py:113
↓ 2 callersFunction_async_assistants
(raw)
libs/sdk-py/tests/integration/test_assistants.py:22
↓ 2 callersFunction_async_runs
(raw)
libs/sdk-py/tests/integration/test_runs.py:24
↓ 2 callersFunction_async_store
(raw)
libs/sdk-py/tests/integration/test_store.py:21
↓ 2 callersMethod_batch_search
Perform batch similarity search for multiple queries.
libs/checkpoint/langgraph/store/memory/__init__.py:302
↓ 2 callersMethod_bind_mux
(self, mux: StreamMux)
libs/langgraph/langgraph/stream/stream_channel.py:89
↓ 2 callersMethod_build_delta_channels_writes_history
Demux stage 2 rows per channel; produce per-channel histories. stage2_rows carry `channel` on every row. We build per-channel `writes
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:471
↓ 2 callersFunction_build_delta_stage1_sql
Build stage 1 SQL with K parallel version lookups + seed probes. For channels=["messages", "files"] (with `paged=True`) the result is::
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:201
↓ 2 callersFunction_build_delta_stage2_sql
Build stage 2 SQL as a per-channel UNION ALL. For each channel with a non-empty chain, emit one branch reading `checkpoint_writes` for that s
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:293
↓ 2 callersFunction_build_interrupt_graph
()
libs/langgraph/tests/test_pregel_stream_events_v3.py:79
↓ 2 callersMethod_build_mixed_thread
Four-checkpoint chain spanning the migration boundary: * `cp0` — pre-delta ancestor OLDER than the seed. Its write (`OLDER-WRITE`)
libs/checkpoint/tests/test_memory.py:579
↓ 2 callersFunction_build_python_install_commands
( config: Config, install_cmd: str )
libs/cli/langgraph_cli/config.py:1109
↓ 2 callersFunction_build_server_info
Build ServerInfo from config configurable. The server puts assistant_id/graph_id in config configurable and the authenticated user dict in co
libs/langgraph/langgraph/pregel/main.py:4306
↓ 2 callersFunction_call_with_options
( func: Callable[P, Awaitable[T]] | Callable[P, T], args: tuple[Any, ...], kwargs: dict[str, Any],
libs/langgraph/langgraph/pregel/_call.py:276
↓ 2 callersMethod_capturing_runner
Like ``_runner`` but exposes the coroutine for arg introspection. Caller must close ``captured["coro"]``.
libs/cli/tests/unit_tests/test_deploy_helpers.py:706
↓ 2 callersFunction_checkpointer_memory
()
libs/langgraph/tests/conftest_checkpointer.py:45
↓ 2 callersFunction_checkpointer_memory
()
libs/prebuilt/tests/conftest_checkpointer.py:17
↓ 2 callersFunction_close_after
Close a handle, optionally after a brief delay. Used to detach closing the old stream from the synchronous rotation step so the new stream ca
libs/sdk-py/langgraph_sdk/stream/controller.py:80
↓ 2 callersMethod_close_or_fail_handle
( self, handle: SubgraphRunStream | AsyncSubgraphRunStream, status: SubgraphStatus,
libs/langgraph/langgraph/stream/transformers.py:775
↓ 2 callersFunction_coerce_context
Coerce context input to the appropriate schema type. If context is a dict and context_schema is a dataclass or pydantic model, we coerce. Els
libs/langgraph/langgraph/pregel/main.py:4337
↓ 2 callersFunction_coerce_parent_runtime
Normalize the value stored under `CONFIG_KEY_RUNTIME` into a `Runtime`. During a graph run this is always a `Runtime` the framework created and
libs/langgraph/langgraph/pregel/main.py:4289
↓ 2 callersFunction_coerce_pending_error
(value: Any)
libs/langgraph/langgraph/pregel/_algo.py:764
↓ 2 callersMethod_collect_scheduled_tasks
Return a snapshot of in-flight tasks scheduled via transformers.
libs/langgraph/langgraph/stream/_mux.py:451
↓ 2 callersFunction_collect_stream_modes
Return the union of `required_stream_modes` across registered transformers. Transformers declare the stream modes they need to function, and
libs/langgraph/langgraph/pregel/main.py:398
↓ 2 callersMethod_combine_tool_outputs
( self, outputs: list[ToolMessage | Command | list[ToolMessage | Command]], input_type
libs/prebuilt/langgraph/prebuilt/tool_node.py:862
↓ 2 callersFunction_config_with_channel_read
Build a config that mimics `CONFIG_KEY_READ` as Pregel installs it. Pregel always installs a `functools.partial(local_read, scratchpad, chann
libs/prebuilt/tests/test_on_tool_call.py:1324
↓ 2 callersFunction_configure_graph_callbacks
( cls: type[_GraphManagerT], callbacks: object | None, *, run_id: UUID | None, )
libs/langgraph/langgraph/callbacks.py:154
↓ 2 callersFunction_convert_future_exc
(exc: BaseException)
libs/langgraph/langgraph/_internal/_future.py:31
↓ 2 callersFunction_copy_graph_manager
( manager: _GraphCallbackManager | _AsyncGraphCallbackManager, cls: type[_GraphManagerT], run_id:
libs/langgraph/langgraph/callbacks.py:194
↓ 2 callersFunction_create_config_with_runtime
Create a RunnableConfig with mocked runtime for direct ToolNode testing.
libs/prebuilt/tests/test_injected_state_not_required.py:62
↓ 2 callersFunction_create_mock_runtime
Create a mock Runtime object for testing ToolNode outside of graph context. This helper is needed because ToolNode._func expects a Runtime parame
libs/prebuilt/tests/test_tool_node.py:59
↓ 2 callersFunction_create_root_model
Create a base class.
libs/langgraph/langgraph/_internal/_pydantic.py:61
↓ 2 callersMethod_cursor
Get a cursor for the SQLite database. Args: transaction: Whether to use a transaction for database operations. Yields:
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:224
↓ 2 callersMethod_dedup_iter
(self, source: Any)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:252
↓ 2 callersMethod_defaults
( self, config: RunnableConfig, *, stream_mode: StreamMode | Sequence[StreamMo
libs/langgraph/langgraph/pregel/main.py:2543
↓ 2 callersFunction_drive
(graph: Any, config: RunnableConfig, tag: str, n: int)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:80
↓ 2 callersFunction_dump_blobs
( serde: SerializerProtocol, thread_id: str, checkpoint_ns: str, values: dict[str, Any], v
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:148
↓ 2 callersMethod_dump_writes
( self, thread_id: str, checkpoint_ns: str, checkpoint_id: str, task_i
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:590
↓ 2 callersMethod_embed_one
Embed a single text.
libs/checkpoint-sqlite/tests/test_store.py:49
↓ 2 callersMethod_embed_one
Embed a single text.
libs/checkpoint-postgres/tests/embed_test_utils.py:25
↓ 2 callersMethod_embed_one
Embed a single text.
libs/checkpoint/tests/embed_test_utils.py:25
↓ 2 callersFunction_ensure_future
( coro_or_future: Coroutine[None, None, T] | Awaitable[T], *, loop: asyncio.AbstractEventLoop,
libs/langgraph/langgraph/_internal/_future.py:143
↓ 2 callersFunction_ensure_index_config
Process and validate index configuration.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1486
↓ 2 callersFunction_ensure_index_config
( index_config: PostgresIndexConfig, )
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1453
↓ 2 callersFunction_escape_glob_literal
Escape GLOB metacharacters so `text` is matched literally. GLOB has no `ESCAPE` clause, so metacharacters are wrapped in a character class in
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:111
↓ 2 callersFunction_escape_like_literal
Escape LIKE metacharacters so `text` is matched literally. Namespace labels may contain `_` and `%`, which would otherwise act as wildcards:
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1283
↓ 2 callersFunction_event_items
(mux: StreamMux)
libs/langgraph/tests/test_stream_subgraph_transformer.py:176
↓ 2 callersMethod_execute_tool_async
Execute tool call asynchronously with configured error handling. Args: request: Tool execution request. input_type: I
libs/prebuilt/langgraph/prebuilt/tool_node.py:1069
↓ 2 callersFunction_extract_env_json
Helper to extract and parse a JSON value from an ENV line in a Dockerfile.
libs/cli/tests/unit_tests/test_config.py:1089
↓ 2 callersMethod_extract_state
Extract state from input. Three input shapes: - `ToolCallWithContext` dict — legacy Send payload carrying an inlined state
libs/prebuilt/langgraph/prebuilt/tool_node.py:1281
↓ 2 callersMethod_extract_texts
( self, put_ops: dict[tuple[tuple[str, ...], str], PutOp] )
libs/checkpoint/langgraph/store/memory/__init__.py:418
↓ 2 callersMethod_fail
(self, message: str)
libs/prebuilt/langgraph/prebuilt/_tool_call_stream.py:85
↓ 2 callersMethod_fail_active_message_streams
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_async/stream.py:1347
↓ 2 callersMethod_fail_active_message_streams
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1234
↓ 2 callersMethod_fail_active_tool_calls
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_async/stream.py:1358
↓ 2 callersMethod_fail_active_tool_calls
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1245
↓ 2 callersFunction_fetch
(request_payload: dict)
libs/cli/langgraph_cli/deploy.py:2015
↓ 2 callersMethod_fetch_state
Fetch the current thread state from the REST endpoint.
libs/sdk-py/langgraph_sdk/_async/stream.py:1899
↓ 2 callersMethod_fetch_state
Fetch the current thread state from the REST endpoint.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1549
↓ 2 callersFunction_filter_graph_handlers
( handlers: list[BaseCallbackHandler], )
libs/langgraph/langgraph/callbacks.py:117
↓ 2 callersFunction_filter_validation_errors
Filter validation errors to only include LLM-controlled arguments. When a tool invocation fails validation, only errors for arguments that the LL
libs/prebuilt/langgraph/prebuilt/tool_node.py:510
↓ 2 callersMethod_filter_with_since
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:246
↓ 2 callersMethod_filter_with_since
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/controller.py:380
↓ 2 callersMethod_finish
( self, writer: _Writer, input: Any, result: Any, config: RunnableConf
libs/langgraph/langgraph/graph/_branch.py:192
← previousnext →701–800 of 6,698, ranked by callers