MCPcopy Create free account

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

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

↓ 3 callersMethod_unregister_active_message_stream
(self, stream: AsyncChatModelStream)
libs/sdk-py/langgraph_sdk/_async/stream.py:1348
↓ 3 callersMethod_unregister_active_message_stream
(self, stream: ChatModelStream)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1235
↓ 3 callersFunction_unstamped
Strip push stamps from a StreamChannel's internal buffer.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:101
↓ 3 callersMethod_update_as_tuples
(self)
libs/langgraph/langgraph/types.py:867
↓ 3 callersFunction_validate_filter_key
Validate that a filter key is safe for use in SQL queries. Args: key: The filter key to validate Raises: ValueError: If the
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:175
↓ 3 callersFunction_validate_git_http_url_userinfo_files
Reject credential-bearing Git HTTP URLs in dependency files.
libs/cli/langgraph_cli/config.py:113
↓ 3 callersFunction_warn_invalid_state_schema
(schema: type[Any] | Any)
libs/langgraph/langgraph/graph/state.py:112
↓ 3 callersFunction_whole_msg
Build a messages ProtocolEvent carrying a completed AIMessage.
libs/langgraph/tests/test_stream_messages_transformer.py:84
↓ 3 callersFunction_written_delta_checkpoint
()
libs/langgraph/tests/test_delta_channel_subgraph.py:342
↓ 3 callersMethodafail
Fail on the async lane. Cancels every scheduled task across all transformers, awaits them to completion, then runs each transformer's
libs/langgraph/langgraph/stream/_mux.py:424
↓ 3 callersMethodaget
Asynchronously get the cached values for the given keys.
libs/checkpoint/langgraph/cache/redis/__init__.py:80
↓ 3 callersMethodaget_delta_channel_history
( self, *, config: RunnableConfig, channels: Sequence[str] )
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:225
↓ 3 callersMethodainvoke
( self, input: dict[str, Any] | Any, config: RunnableConfig | None = None, *,
libs/langgraph/langgraph/pregel/remote.py:1215
↓ 3 callersMethodaset
Asynchronously set the cached values for the given keys and TTLs.
libs/checkpoint/langgraph/cache/redis/__init__.py:110
↓ 3 callersFunctioncall
()
libs/langgraph/tests/test_retry.py:748
↓ 3 callersFunctionchain_future
(source: AnyFuture, destination: AnyFuture)
libs/langgraph/langgraph/_internal/_future.py:127
↓ 3 callersMethodclose
(self)
libs/langgraph/langgraph/pregel/_retry.py:211
↓ 3 callersMethodclose
()
libs/sdk-py/langgraph_sdk/stream/transport/ws.py:161
↓ 3 callersMethodclose
()
libs/sdk-py/langgraph_sdk/stream/transport/sync_ws.py:121
↓ 3 callersMethodclose
()
libs/sdk-py/langgraph_sdk/stream/transport/sync_http.py:121
↓ 3 callersMethodclose
()
libs/sdk-py/langgraph_sdk/stream/transport/http.py:179
↓ 3 callersMethodcoerce
Normalize a timeout value to positive-second policy fields.
libs/langgraph/langgraph/types.py:493
↓ 3 callersMethodcreate
Create a cron run. Args: assistant_id: The assistant ID or graph name to use for the cron job. If using graph nam
libs/sdk-py/langgraph_sdk/_sync/cron.py:169
↓ 3 callersMethodcreate
( self, thread_id: None, assistant_id: str, *, input: Input | None = N
libs/sdk-py/langgraph_sdk/_sync/runs.py:359
↓ 3 callersFunctioncreate_checkpoint
Build a new Checkpoint from the previous one and live channel state. For each name in `channels_to_snapshot`, a `_DeltaSnapshot(value)` blob
libs/langgraph/langgraph/pregel/_checkpoint.py:224
↓ 3 callersMethoddelete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:505
↓ 3 callersMethoddo_write
( config: RunnableConfig, writes: Sequence[ChannelWriteEntry | ChannelWriteTupleEntry | Send],
libs/langgraph/langgraph/pregel/_write.py:106
↓ 3 callersMethodempty
Return True if the queue is empty, False otherwise (not reliable!).
libs/langgraph/langgraph/_internal/_queue.py:116
↓ 3 callersFunctionensure_embeddings
Ensure that an embedding function conforms to LangChain's Embeddings interface. This function wraps arbitrary embedding functions to make them co
libs/checkpoint/langgraph/store/base/embed.py:34
↓ 3 callersFunctionfactory
(scope: tuple[str, ...], _spec: Callable[..., Any] = spec)
libs/langgraph/langgraph/pregel/main.py:449
↓ 3 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:103
↓ 3 callersFunctionfoo
(state: dict)
libs/langgraph/tests/test_pregel_async.py:2462
↓ 3 callersFunctionfoo
(state: dict)
libs/langgraph/tests/test_pregel.py:1401
↓ 3 callersMethodget
Get a run. Args: thread_id: The thread ID to get. run_id: The run ID to get. headers: Optional custom hea
libs/sdk-py/langgraph_sdk/_sync/runs.py:890
↓ 3 callersMethodget_build_logs
( self, project_id: str, revision_id: str, payload: dict[str, Any] )
libs/cli/langgraph_cli/host_backend.py:334
↓ 3 callersMethodget_deploy_logs
( self, project_id: str, payload: dict[str, Any], revision_id: str | None = No
libs/cli/langgraph_cli/host_backend.py:343
↓ 3 callersMethodget_deployment
(self, deployment_id: str)
libs/cli/langgraph_cli/host_backend.py:245
↓ 3 callersFunctionget_new_channel_versions
Get subset of current_versions that are newer than previous_versions.
libs/langgraph/langgraph/pregel/_utils.py:27
↓ 3 callersMethodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the SQLite database based on the provided con
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:191
↓ 3 callersMethodinit
(self)
libs/langgraph/langgraph/stream/transformers.py:59
↓ 3 callersMethodjoin
Block until a run is done. Returns the final state of the thread. Args: thread_id: The thread ID to join. run_id: The
libs/sdk-py/langgraph_sdk/_sync/runs.py:1042
↓ 3 callersMethodlist
List checkpoints from the database. This method retrieves a list of checkpoint tuples from the Postgres database based on the provide
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:112
↓ 3 callersFunctionmap_snapshot
(i: StateSnapshot)
libs/langgraph/tests/test_pregel.py:8049
↓ 3 callersFunctionmapper
(input: int)
libs/langgraph/tests/test_pregel.py:1278
↓ 3 callersFunctionmessage_error_event
( seq: int = 0, namespace: list[str] | None = None, *, message: str = "model failed", code
libs/sdk-py/tests/streaming/_events.py:185
↓ 3 callersFunctionnamespace_matches
Whether `event_namespace` matches any of `prefixes` within `depth`.
libs/sdk-py/langgraph_sdk/stream/subscription.py:39
↓ 3 callersFunctionnode
(state: State, writer: StreamWriter)
libs/langgraph/tests/test_pregel_async.py:5225
↓ 3 callersFunctionnormalize_segment
Strip the dynamic suffix after `:` from a namespace segment.
libs/sdk-py/langgraph_sdk/stream/subscription.py:13
↓ 3 callersMethodoutput
Drive the run to completion and return the final state. Methods (not properties) on the async lane so `run.output` without `await` ra
libs/langgraph/langgraph/stream/run_stream.py:583
↓ 3 callersMethodpatch
Send a `PATCH` request.
libs/sdk-py/langgraph_sdk/_async/http.py:100
↓ 3 callersMethodpatch
Send a `PATCH` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:100
↓ 3 callersFunctionprepare_node_error_handler_task
Prepare an immediate node-level error handler task for a failed task.
libs/langgraph/langgraph/pregel/_algo.py:1110
↓ 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 callersFunctionread
(namespace: str)
libs/langgraph/tests/test_delta_channel_subgraph.py:451
↓ 3 callersFunctionrecast_checkpoint_ns
Remove task IDs from checkpoint namespace. Args: ns: The checkpoint namespace with task IDs. Returns: str: The checkpoint na
libs/langgraph/langgraph/_internal/_config.py:38
↓ 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:351
↓ 3 callersMethodstep
(self, step: int, message: str, **extra: object)
libs/cli/langgraph_cli/deploy.py:319
↓ 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. With `live=True`, tasks report only the interrupts still waiting for a
libs/langgraph/langgraph/pregel/debug.py:212
↓ 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:284
↓ 3 callersMethodwith_allowlist
Return a shallow clone with a derived msgpack allowlist.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:714
↓ 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:289
↓ 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:104
↓ 2 callersMethod__new__
(cls, min_value: float, max_value: float)
libs/langgraph/tests/any_str.py:14
↓ 2 callersFunction_abuild_chain
(saver: AsyncPostgresSaver)
libs/checkpoint-postgres/tests/test_delta_pagination.py:48
↓ 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:1227
↓ 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:249
↓ 2 callersMethod_apply_lifecycle_event
Update `interrupted` / `interrupts` / `_run_done` from a lifecycle or input event.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1584
↓ 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
Build a `StateSnapshot` from a saved checkpoint and its pending writes. With `live=True` the snapshot shows current status: values include th
libs/langgraph/langgraph/pregel/main.py:1334
↓ 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:781
↓ 2 callersFunction_assemble_writes
Assembles the writes into a list of tuples.
libs/langgraph/langgraph/pregel/_write.py:172
↓ 2 callersFunction_assert_history
(entry: DeltaChannelHistory, page_size: int)
libs/checkpoint-postgres/tests/test_delta_pagination.py:82
↓ 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 callersFunction_available_listeners
(client: HostBackendClient)
libs/cli/langgraph_cli/deploy.py:1536
↓ 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
← previousnext →701–800 of 7,100, ranked by callers