MCPcopy Create free account

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

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

↓ 1 callersMethod_interleave_public_name
Map a wire channel name to the public channel name used in interleave tuples.
libs/sdk-py/langgraph_sdk/_async/stream.py:1532
↓ 1 callersMethod_interleave_public_name
Map a wire channel name to the public channel name used in interleave tuples.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1399
↓ 1 callersFunction_is_async_callable
Check if a function is async. This includes both async def functions and classes with async __call__ methods. Args: func: Function o
libs/checkpoint/langgraph/store/base/embed.py:399
↓ 1 callersFunction_is_compatible_api_version_candidate
( candidate: _ParsedApiVersion, version_range: _ApiVersionRange, upper_bound: tuple[int, ...], )
libs/cli/langgraph_cli/config.py:205
↓ 1 callersFunction_is_direct_child
(namespace: list[str], scope: tuple[str, ...])
libs/sdk-py/langgraph_sdk/_async/stream.py:525
↓ 1 callersFunction_is_direct_child
(namespace: list[str], scope: tuple[str, ...])
libs/sdk-py/langgraph_sdk/_sync/stream.py:112
↓ 1 callersFunction_is_direct_child
(namespace: list[str], scope: tuple[str, ...])
libs/sdk-py/langgraph_sdk/stream/decoders.py:98
↓ 1 callersFunction_is_executor_backed_afunc
(afunc: Callable[..., Any] | None)
libs/langgraph/langgraph/pregel/_utils.py:95
↓ 1 callersFunction_is_field_binop
(typ: type[Any])
libs/langgraph/langgraph/graph/state.py:1890
↓ 1 callersFunction_is_field_managed_value
(name: str, typ: type[Any])
libs/langgraph/langgraph/graph/state.py:1911
↓ 1 callersFunction_is_injection
Check if a type argument represents an injection annotation. This utility function determines whether a type annotation indicates that an arg
libs/prebuilt/langgraph/prebuilt/tool_node.py:1904
↓ 1 callersFunction_is_message_dict
(item: dict)
libs/langgraph/langgraph/pregel/_messages.py:422
↓ 1 callersFunction_is_node_graph
Check if a graph is a Node.js graph based on the file extension.
libs/cli/langgraph_cli/config.py:297
↓ 1 callersFunction_is_overridden
Check if *method* on *inner_type* differs from the base class default.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/capabilities.py:90
↓ 1 callersFunction_is_pydantic_model
(typ: Any)
libs/langgraph/langgraph/_internal/_serde.py:228
↓ 1 callersFunction_is_required_type
Check if an annotation is marked as Required/NotRequired. Returns: - True if required - False if not required - None if n
libs/langgraph/langgraph/_internal/_fields.py:40
↓ 1 callersFunction_is_root_terminal_lifecycle
Return True for a root-namespace lifecycle event marking run end. Matches the wire shape ``{method: "lifecycle", params: {namespace: [], data
libs/sdk-py/langgraph_sdk/_async/stream.py:110
↓ 1 callersFunction_is_root_terminal_lifecycle
Return True for a root-namespace lifecycle event marking run end. Matches the wire shape ``{method: "lifecycle", params: {namespace: [], data
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:28
↓ 1 callersFunction_is_serialized_tool_message
Detect a serialized LangChain `ToolMessage` payload. Example: { "lc": 1, "type": "constructor", "id":
libs/prebuilt/langgraph/prebuilt/_tool_call_transformer.py:15
↓ 1 callersFunction_is_user_raised_cancelled
Return True if the in-flight ``CancelledError`` came from the task body. Pregel cancels sibling tasks via ``task.cancel()`` when a peer fails, wh
libs/langgraph/langgraph/pregel/_retry.py:315
↓ 1 callersFunction_item_node
(item: str)
libs/langgraph/tests/test_stream_subgraph_transformer.py:716
↓ 1 callersMethod_iter
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:1136
↓ 1 callersMethod_iter
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1053
↓ 1 callersMethod_iter
(self)
libs/sdk-py/tests/streaming/test_transport_ws.py:43
↓ 1 callersMethod_iter
(self)
libs/sdk-py/tests/streaming/test_transport_ws.py:80
↓ 1 callersMethod_iter
(self)
libs/sdk-py/tests/streaming/test_transport_ws.py:187
↓ 1 callersFunction_lifecycle_payloads
(mux: StreamMux)
libs/langgraph/tests/test_stream_subgraph_transformer.py:180
↓ 1 callersMethod_lifecycle_stream_params
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:1838
↓ 1 callersMethod_lifecycle_stream_params
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1507
↓ 1 callersFunction_load_checkpoint
( conn: psycopg.Connection[Any], thread_id: str, checkpoint_ns: str, checkpoint_id: str, )
examples/delta-channel-dump/dump.py:170
↓ 1 callersFunction_load_pyproject
(pyproject_path: pathlib.Path)
libs/cli/langgraph_cli/uv_lock.py:105
↓ 1 callersFunction_load_seed
( conn: psycopg.Connection[Any], *, thread_id: str, checkpoint_ns: str, channel: str,
examples/delta-channel-dump/dump.py:189
↓ 1 callersFunction_load_writes_for_checkpoint
Load writes for one checkpoint, newest-first by ``(task_id, idx)``. ``walk_channel`` reverses the accumulated flat list before returning; DES
examples/delta-channel-dump/dump.py:245
↓ 1 callersFunction_make
()
libs/sdk-py/tests/streaming/test_tool_calls_projection.py:237
↓ 1 callersMethod_make_eu_client
(self, handler)
libs/cli/tests/unit_tests/test_deploy_helpers.py:271
↓ 1 callersFunction_make_failing_nested
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:750
↓ 1 callersFunction_make_graph
Graph: one node, writes a fresh message into every channel each turn.
libs/langgraph/tests/test_delta_channel_benchmark.py:99
↓ 1 callersFunction_make_handle
Build a minimal EventStreamHandle that closes immediately.
libs/sdk-py/tests/streaming/test_controller.py:163
↓ 1 callersFunction_make_messages_graph
Flat graph with an LLM call for messages projection testing.
libs/langgraph/tests/test_stream_events_v3_e2e.py:80
↓ 1 callersFunction_make_state_cls
Build a TypedDict with one DeltaChannel per entry in `freqs`.
libs/langgraph/tests/test_delta_channel_benchmark.py:87
↓ 1 callersFunction_message_route_key
Return the routing key for a message-channel event in `active`. Keys on `message_id` when available so concurrent messages that share the sam
libs/sdk-py/langgraph_sdk/stream/decoders.py:64
↓ 1 callersMethod_messages_iter
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:394
↓ 1 callersMethod_messages_iter
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:687
↓ 1 callersMethod_messages_iter
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:340
↓ 1 callersMethod_messages_iter
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:754
↓ 1 callersFunction_namespace_prefix_condition
Build the SQL scoping a search to a namespace and its descendants. Matches the namespace exactly or requires the `.` separator before any rem
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1294
↓ 1 callersFunction_native_factories
Mirror the factory list `Pregel.stream_events(version="v3")` registers.
libs/langgraph/tests/test_stream_subgraph_transformer.py:95
↓ 1 callersFunction_neg_l2_distance
Compute l2 distance between a vector X and a matrix Y. Lazy import numpy for efficiency.
libs/checkpoint-postgres/tests/test_store.py:905
↓ 1 callersMethod_new_stream
( self, tool_call_id: str, tool_name: str, tool_input: dict[str, Any] | None,
libs/prebuilt/langgraph/prebuilt/_tool_call_transformer.py:95
↓ 1 callersMethod_next_push_seq
(self)
libs/langgraph/langgraph/stream/_mux.py:154
↓ 1 callersFunction_normalize_lifecycle_data
Map test-fixture shorthand to the wire shape `langgraph-api` emits. The server emits the lifecycle status as `data.event` with values `runnin
libs/sdk-py/tests/streaming/_events.py:24
↓ 1 callersFunction_normalize_return_annotation
(ann: object)
libs/sdk-py/tests/test_api_parity.py:40
↓ 1 callersFunction_normalize_tool_output
(output: Any)
libs/prebuilt/langgraph/prebuilt/_tool_call_transformer.py:34
↓ 1 callersMethod_ns_for_emit
Resolve the namespace this tool call should emit at, or `None` to skip. Mirrors `StreamMessagesHandler.on_chat_model_start`'s namespace
libs/langgraph/langgraph/pregel/_tools.py:87
↓ 1 callersMethod_observe_event
Track values-event state for output/interrupted/interrupts.
libs/langgraph/langgraph/stream/run_stream.py:394
↓ 1 callersMethod_observe_event
(self, event: Event)
libs/sdk-py/langgraph_sdk/_async/stream.py:1389
↓ 1 callersMethod_observe_event
(self, event: Event)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:238
↓ 1 callersMethod_observe_event
(self, event: Event)
libs/sdk-py/langgraph_sdk/stream/controller.py:373
↓ 1 callersMethod_observe_lifecycle_event
(self, event: Event)
libs/sdk-py/langgraph_sdk/_async/stream.py:1831
↓ 1 callersMethod_observe_lifecycle_event
(self, event: Event)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1500
↓ 1 callersMethod_on_register
Called by `StreamMux._register` after this transformer is wired in. Default is a no-op. Override to capture a reference to the owning
libs/langgraph/langgraph/stream/_types.py:140
↓ 1 callersMethod_on_started
Fired once per discovered namespace (first observed task event). The triggering `cause` (if any) is available as `self._pending_cause`.
libs/langgraph/langgraph/stream/transformers.py:434
↓ 1 callersMethod_on_terminal
( self, ns: tuple[str, ...], status: SubgraphStatus, error: str | None, )
libs/langgraph/langgraph/stream/transformers.py:738
↓ 1 callersFunction_parallel_steps
(runnable: Runnable)
libs/langgraph/langgraph/pregel/_utils.py:84
↓ 1 callersFunction_parse_api_version
(version_str: str)
libs/cli/langgraph_cli/config.py:170
↓ 1 callersFunction_parse_api_version_parts
Parse an API version into numeric components. Supports optional prerelease suffixes, e.g. `0.9.0rc1`.
libs/cli/langgraph_cli/config.py:158
↓ 1 callersFunction_parse_dependency_name
( dependency: str, *, package_name: str, pyproject_path: pathlib.Path )
libs/cli/langgraph_cli/uv_lock.py:92
↓ 1 callersFunction_parse_namespace_segment
(segment: str)
libs/sdk-py/langgraph_sdk/_async/stream.py:509
↓ 1 callersFunction_parse_namespace_segment
(segment: str)
libs/sdk-py/langgraph_sdk/_sync/stream.py:96
↓ 1 callersFunction_parse_namespace_segment
(segment: str)
libs/sdk-py/langgraph_sdk/stream/decoders.py:82
↓ 1 callersFunction_parse_ns_segment
Split a namespace segment into `(graph_name, trigger_call_id)`. Segments are formatted `node_name:task_id` by `prepare_next_tasks`. Returns `
libs/langgraph/langgraph/stream/transformers.py:346
↓ 1 callersFunction_parse_version
Parse a version string into a tuple of (major, minor).
libs/cli/langgraph_cli/config.py:136
↓ 1 callersFunction_path_in_unrelated_member
Return True if host_path is inside a workspace member NOT in the closure. When matched_root is the project root (workspace root), it is a parent
libs/cli/langgraph_cli/uv_lock.py:541
↓ 1 callersMethod_pending_interrupts
Return the set of interrupt ids that are pending without corresponding resume values.
libs/langgraph/langgraph/pregel/_loop.py:818
↓ 1 callersFunction_pg_saver
(thread_id: str)
libs/langgraph/tests/test_delta_channel_benchmark.py:207
↓ 1 callersFunction_pick_non_root
Return a config pointing at a checkpoint that has at least one ancestor. `get_delta_channel_history` walks the parent chain — calling it on the r
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:79
↓ 1 callersFunction_pipe_saver
Fixture for pipeline mode testing.
libs/checkpoint-postgres/tests/test_sync.py:54
↓ 1 callersFunction_pipe_saver
Fixture for pipeline mode testing.
libs/checkpoint-postgres/tests/test_async.py:60
↓ 1 callersFunction_plan_uv_lock_workspace
(config_path: pathlib.Path, config: Config)
libs/cli/langgraph_cli/uv_lock.py:623
↓ 1 callersFunction_poll_revision_status
Poll latest revision status until terminal status or timeout.
libs/cli/langgraph_cli/deploy.py:703
↓ 1 callersFunction_pool_saver
Fixture for pool mode testing.
libs/checkpoint-postgres/tests/test_sync.py:31
↓ 1 callersFunction_pool_saver
Fixture for pool mode testing.
libs/checkpoint-postgres/tests/test_async.py:33
↓ 1 callersFunction_postgres_storage_bytes
Total bytes across checkpoints / checkpoint_blobs / checkpoint_writes rows for this `thread_id`. Uses `pg_column_size` for an in-row payload e
libs/langgraph/tests/test_delta_channel_benchmark.py:129
↓ 1 callersMethod_pregel_stream_v3
Internal v3 sync streaming implementation. Public entry: stream_events(version='v3'). Extra keyword arguments are forwarded to the underlying
libs/langgraph/langgraph/pregel/main.py:3505
↓ 1 callersFunction_print_deployment_result
Print final deployment status and raise on failure.
libs/cli/langgraph_cli/deploy.py:766
↓ 1 callersFunction_print_scenario_table
(cp_label: str, rows: list[dict])
libs/langgraph/tests/test_delta_channel_benchmark.py:257
↓ 1 callersFunction_proc_input
Prepare input for a PULL task, based on the process's channels and triggers.
libs/langgraph/langgraph/pregel/_algo.py:1348
↓ 1 callersFunction_public_methods
(cls)
libs/sdk-py/tests/test_api_parity.py:22
↓ 1 callersFunction_pump
()
libs/sdk-py/tests/streaming/test_shared_stream.py:221
↓ 1 callersMethod_push_delta
(self, delta: Any)
libs/prebuilt/langgraph/prebuilt/_tool_call_stream.py:77
↓ 1 callersMethod_push_delta
(self, delta: str)
libs/sdk-py/langgraph_sdk/_sync/stream.py:514
↓ 1 callersMethod_push_event
Route a descendant event into the appropriate channel inbox. Also fans out to any registered descendant handles whose path is a prefi
libs/sdk-py/langgraph_sdk/_async/stream.py:591
↓ 1 callersMethod_put_exit_delta_writes
Stage stub + accumulated delta writes so final_checkpoint's put waits on them (visibility invariant: both must be durable before final
libs/langgraph/langgraph/pregel/_loop.py:1221
↓ 1 callersMethod_put_pending_writes
(self)
libs/langgraph/langgraph/pregel/_loop.py:510
↓ 1 callersFunction_pydantic_field_types
(typ: type[Any])
libs/langgraph/langgraph/_internal/_serde.py:240
↓ 1 callersFunction_raises
()
libs/sdk-py/tests/streaming/test_controller.py:276
↓ 1 callersFunction_read_text
(path: pathlib.Path)
libs/cli/langgraph_cli/dependency_tracking.py:46
↓ 1 callersMethod_reconnect_shared_stream
Attempt to reopen the shared stream after a post-ready transport drop. Returns: `True` if a new stream was opened (caller should
libs/sdk-py/langgraph_sdk/_async/stream.py:1675
↓ 1 callersMethod_reconnect_sleep
Sleep with exponential backoff and jitter for reconnect attempt `attempt`.
libs/sdk-py/langgraph_sdk/_async/stream.py:1667
↓ 1 callersMethod_reconnect_sleep
Sleep with exponential backoff + jitter before a reconnect attempt.
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:287
← previousnext →1,301–1,400 of 6,698, ranked by callers