MCPcopy Create free account

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

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

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
← previousnext →2,501–2,600 of 7,100, ranked by callers