Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ functions
Functions
7,100 in github.com/langchain-ai/langgraph
⨍
Functions
7,100
◇
Types & classes
1,151
↳
Endpoints
35
Method
_controller
Return self as the subscription controller (duck-type compatible with StreamController). Exposes `_subscriptions` so tests can verify subscri
libs/sdk-py/langgraph_sdk/_async/stream.py:1239
Function
_convert_to_human_message
(message: BaseMessage)
examples/chatbot-simulation-evaluation/simulation_utils.py:175
Function
_counted
(self, source)
libs/sdk-py/integration/scripts/test_reconnect.py:51
Function
_counted
(self, source)
libs/sdk-py/tests/integration/test_reconnect.py:26
Function
_default_format_error
Default error formatting function.
libs/prebuilt/langgraph/prebuilt/tool_validator.py:34
Function
_default_handle_tool_errors
Default error handler for tool errors. If the tool is a tool invocation error, return its message. Otherwise, raise the error.
libs/prebuilt/langgraph/prebuilt/tool_node.py:383
Function
_deploy_base_options
Apply shared deploy flags. The group shares most options but should not consume subcommands, so the docker build args are only attached when
libs/cli/langgraph_cli/deploy.py:2011
Function
_deploy_cmd
( config: pathlib.Path, pull: bool, verbose: bool, api_version: str | None, host_url: str
libs/cli/langgraph_cli/deploy.py:2188
Method
_drain_and_close
Drain remaining events from an old handle before closing it. Runs in a background thread spawned by `reconcile_stream` on rotation so
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:262
Function
_drain_cancelled
(task: asyncio.Task[Any])
libs/langgraph/langgraph/pregel/_retry.py:337
Function
_drive_one_sync
( threads: Any, label: str, results: dict[str, dict[str, Any]] )
libs/sdk-py/integration/scripts/test_concurrent.py:71
Function
_drive_one_sync
( threads: Any, label: str, results: dict[str, dict[str, Any]] )
libs/sdk-py/tests/integration/test_concurrent.py:40
Function
_edge
(st: MyState)
libs/langgraph/tests/test_pregel_async.py:2088
Function
_edge
(st: MyState)
libs/langgraph/tests/test_pregel.py:616
Function
_error_then_succeed_transport
Return a fake transport that fails *fail_count* times then succeeds.
libs/sdk-py/tests/streaming/test_controller.py:196
Function
_explode_args_trace_inputs
( sig: inspect.Signature, input: tuple[tuple[Any, ...], dict[str, Any]] )
libs/langgraph/langgraph/pregel/_call.py:157
Function
_extend
(state: list | None, writes: list[Any])
libs/langgraph/tests/test_delta_channel_subgraph.py:22
Function
_extend
(state: list, writes: list[list])
libs/langgraph/tests/test_pregel.py:9413
Function
_factory
(*, namespace, node, message_id)
libs/sdk-py/tests/streaming/test_decoders.py:91
Method
_fail
(self, exc)
libs/sdk-py/tests/streaming/test_decoders.py:189
Function
_failing_node
(state: _State)
libs/langgraph/tests/test_stream_subgraph_transformer.py:746
Function
_fake_runner
()
libs/cli/tests/unit_tests/cli/test_deploy_command.py:254
Method
_fanout
(self)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:158
Function
_fetch_messages
Invoke the simulated user node.
examples/chatbot-simulation-evaluation/simulation_utils.py:170
Method
_find_and_emit_messages
Like the v1 handler, but skip ToolMessage from node outputs. Tool results belong on the tools channel / state in v3; v2-flagged streams
libs/langgraph/langgraph/pregel/_messages.py:307
Method
_finish
(self, status, error=None)
libs/sdk-py/tests/streaming/test_decoders.py:332
Function
_finish_one
( idx: int, handle: SyncScopedStreamHandle, barrier: threading.Barrier, errors: list[Exception
libs/sdk-py/tests/streaming/test_sync_scoped_handles.py:554
Method
_forward
(item: Any)
libs/langgraph/langgraph/stream/_mux.py:489
Method
_func
( self, input: list[AnyMessage] | dict[str, Any] | BaseModel, config: RunnableConfig,
libs/prebuilt/langgraph/prebuilt/tool_node.py:793
Method
_func
Validate and run tool calls synchronously.
libs/prebuilt/langgraph/prebuilt/tool_validator.py:184
Function
_gated_reconcile
(candidate_filter)
libs/sdk-py/tests/streaming/test_sync_thread_stream.py:539
Method
_gen
()
libs/sdk-py/tests/streaming/test_sync_thread_stream.py:213
Method
_gen_a
()
libs/sdk-py/tests/streaming/test_sync_thread_stream.py:141
Method
_gen_empty
()
libs/sdk-py/tests/streaming/test_sync_thread_stream.py:144
Method
_generate
( self, messages: list[BaseMessage], stop: list[str] | None = None, run_manage
libs/langgraph/tests/test_retry.py:1592
Method
_generate
( self, messages: list[BaseMessage], stop: list[str] | None = None,
libs/langgraph/tests/test_large_cases.py:2388
Method
_generate
( self, messages: list[BaseMessage], stop: list[str] | None = None,
libs/langgraph/bench/react_agent.py:22
Method
_generate
Top Level call
libs/prebuilt/tests/model.py:28
Method
_generate
(self, messages, stop=None, run_manager=None, **kwargs)
libs/sdk-py/integration/graph/streaming_graph.py:71
Method
_generate
( self, messages: list[BaseMessage], stop: list[str] | None = None, run_manage
libs/sdk-py/integration/graph/tools_agent.py:69
Method
_get_batch_GET_ops_queries
Build queries to fetch (and optionally refresh the TTL of) multiple keys per namespace. Returns a list of PreparedGetQuery objects,
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:282
Method
_get_filter_condition
Helper to generate filter conditions.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:938
Function
_get_root
(input: Any)
libs/langgraph/langgraph/graph/state.py:1792
Method
_get_updates
( input: None | dict | Any, )
libs/langgraph/langgraph/graph/state.py:1456
Method
_get_version
(cur: Cursor[dict[str, Any]], table: str)
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1123
Method
_get_version
(cur: AsyncCursor[DictRow], table: str)
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:235
Method
_handle
(self, request: httpx.Request)
libs/sdk-py/tests/streaming/test_sync_thread_stream.py:298
Method
_handle
(self, request: httpx.Request)
libs/sdk-py/tests/streaming/_sync_fake_server.py:90
Function
_handle_interrupt
(revision_id: str)
libs/cli/langgraph_cli/deploy.py:1427
Method
_handle_request
Async handler for `httpx.MockTransport` — supports proper streaming failures.
libs/sdk-py/tests/streaming/_fake_server.py:236
Function
_incr
(state: State)
libs/langgraph/tests/test_trace_policy.py:21
Function
_invoke_simulated_user
Invoke the simulated user node.
examples/chatbot-simulation-evaluation/simulation_utils.py:144
Function
_is_readonly_type
Check if an annotation is marked as ReadOnly. Returns: - True if is read only - False if not read only
libs/langgraph/langgraph/_internal/_fields.py:59
Method
_item
(name: str)
libs/langgraph/tests/test_stream_events_v3_e2e.py:705
Function
_json_loads
(content: bytes | str | orjson.Fragment)
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:192
Function
_json_loads
(content: bytes | orjson.Fragment)
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1394
Function
_list_concat
(state: list, writes: list)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:47
Function
_list_concat
(state: list, writes: list)
libs/langgraph/tests/test_delta_channel_migration.py:78
Method
_llm_type
(self)
libs/prebuilt/tests/model.py:49
Method
_llm_type
(self)
libs/sdk-py/integration/graph/streaming_graph.py:68
Method
_make_forward
(method_name: str)
libs/langgraph/langgraph/stream/_mux.py:488
Method
_migrate_checkpoint
Migrate a checkpoint to new channel layout.
libs/langgraph/langgraph/graph/state.py:1626
Function
_msgpack_default
(obj: Any)
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:305
Function
_msgpack_ext_hook_to_json
(code: int, data: bytes)
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:751
Function
_my_node
(state: _State)
libs/langgraph/tests/test_stream_data_transformers.py:492
Function
_namespace_match
Backing implementation of `NS_MATCH_FUNCTION`.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:104
Function
_no_op_heartbeat
()
libs/langgraph/langgraph/runtime.py:110
Function
_no_op_stream_writer
(c: Any)
libs/langgraph/langgraph/config.py:13
Function
_no_op_stream_writer
(_: Any)
libs/langgraph/langgraph/runtime.py:107
Function
_node
(state: State)
libs/langgraph/tests/test_pregel_async.py:5817
Function
_node
(state: State)
libs/langgraph/tests/test_pregel.py:4153
Function
_noop
(_state: Any)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:51
Function
_noop
(_state: Any)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:43
Function
_noop
(_state: Any)
libs/langgraph/tests/test_delta_channel_migration.py:74
Function
_noop_lifespan
()
libs/checkpoint-conformance/langgraph/checkpoint/conformance/initializer.py:19
Method
_omit_expired
Whether expired-but-unswept rows should be filtered from reads.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:245
Method
_on_register
(self, mux: Any)
libs/langgraph/langgraph/stream/transformers.py:704
Method
_on_started
( self, ns: tuple[str, ...], graph_name: str | None, trigger_call_id: str | No
libs/langgraph/langgraph/stream/transformers.py:638
Method
_on_started
( self, ns: tuple[str, ...], graph_name: str | None, trigger_call_id: str | No
libs/langgraph/langgraph/stream/transformers.py:713
Method
_on_started
(self, ns, graph_name, trigger_call_id)
libs/langgraph/tests/test_stream_lifecycle_transformer.py:702
Method
_on_terminal
( self, ns: tuple[str, ...], status: SubgraphStatus, error: str | None, )
libs/langgraph/langgraph/stream/transformers.py:658
Method
_on_terminal
(self, ns, status, error)
libs/langgraph/tests/test_stream_lifecycle_transformer.py:705
Function
_open
(params: dict[str, Any])
libs/sdk-py/tests/streaming/test_shared_stream.py:260
Function
_orjson_default
(obj: Any)
libs/sdk-py/langgraph_sdk/_shared/utilities.py:72
Method
_parse_key
Parse a Redis key back to namespace and key.
libs/checkpoint/langgraph/cache/redis/__init__.py:36
Method
_parts
()
libs/langgraph/tests/test_pregel_stream_events_v3.py:1026
Function
_passthrough
(state: _State)
libs/langgraph/tests/test_stream_subgraph_transformer.py:691
Function
_passthrough
(state: _State)
libs/langgraph/tests/test_stream_lifecycle_transformer.py:342
Method
_persist_run
Persist a run.
libs/langgraph/tests/fake_tracer.py:72
Method
_pluck_return_value
Extract the return_ value the entrypoint.final object or passthrough.
libs/langgraph/langgraph/func/__init__.py:546
Method
_pluck_save_value
Get save value from the entrypoint.final object or passthrough.
libs/langgraph/langgraph/func/__init__.py:550
Function
_prepare_example
(inputs: dict[str, Any], input_key: Optional[str] = None)
examples/chatbot-simulation-evaluation/simulation_utils.py:130
Method
_pump_next
Pull one event from the graph and push it through the mux. Returns: True if an event was pulled, False if the graph is exhausted
libs/langgraph/langgraph/stream/run_stream.py:160
Method
_pump_next
Delegate to the parent's pump. Cursors on this handle's projections call here when their buffers empty. Driving the parent fans event
libs/langgraph/langgraph/stream/run_stream.py:685
Method
_push_delta
(self, delta)
libs/sdk-py/tests/streaming/test_decoders.py:182
Method
_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/_sync/stream.py:658
Method
_push_event
(self, event)
libs/sdk-py/tests/streaming/test_decoders.py:329
Function
_read
(scratchpad, channels, managed, task, select, fresh)
libs/prebuilt/tests/test_on_tool_call.py:1341
Method
_read
(self, _: Any, config: RunnableConfig)
libs/langgraph/langgraph/pregel/_read.py:63
Function
_read_error_for_task_id_from_pending_writes
( pending_writes: list[PendingWrite], task_id: str )
libs/langgraph/langgraph/pregel/_algo.py:780
← previous
next →
2,501–2,600 of 7,100, ranked by callers