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
Function
test_retry_middleware_with_exception
Test retry middleware pattern that can call execute multiple times.
libs/prebuilt/tests/test_on_tool_call.py:791
Function
test_return_direct
(version: str)
libs/prebuilt/tests/test_react_agent.py:982
Method
test_returns_same_if_not_jsonplus_inner
_with_msgpack_allowlist should return same serde if inner is not JsonPlusSerializer.
libs/checkpoint/tests/test_encrypted.py:300
Function
test_root_and_child_projections_do_not_cross_talk
()
libs/sdk-py/tests/streaming/test_scoped_handles.py:248
Function
test_root_checkpointer_true_graph_state_read_raises
()
libs/langgraph/tests/test_delta_channel_subgraph.py:378
Function
test_root_graph
( deterministic_uuids: MockerFixture, sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_large_cases.py:3088
Method
test_root_messages_only_shows_root_scope
Root messages projection doesn't surface subgraph-scoped messages.
libs/langgraph/tests/test_stream_events_v3_e2e.py:380
Function
test_root_mixed_return
()
libs/langgraph/tests/test_pregel.py:5075
Function
test_root_target_has_no_history_and_still_terminates
( monkeypatch: pytest.MonkeyPatch, )
libs/checkpoint-postgres/tests/test_delta_pagination.py:122
Function
test_rotation_when_new_subscription_widens_filter
()
libs/sdk-py/tests/streaming/test_shared_stream.py:59
Function
test_run_control_request_drain_stops_future_steps
()
libs/langgraph/tests/test_runtime.py:102
Function
test_run_control_request_drain_stops_future_steps_async
()
libs/langgraph/tests/test_runtime.py:128
Function
test_run_from_checkpoint_id_retains_previous_writes
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:2064
Function
test_run_from_checkpoint_id_retains_previous_writes
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel.py:592
Function
test_run_respond_dispatches_input_respond_command
()
libs/sdk-py/tests/streaming/test_thread_stream.py:599
Function
test_run_respond_raises_when_ambiguous_interrupt_id
()
libs/sdk-py/tests/streaming/test_thread_stream.py:646
Function
test_run_respond_raises_when_explicit_interrupt_id_not_outstanding
()
libs/sdk-py/tests/streaming/test_thread_stream.py:751
Function
test_run_respond_raises_when_no_outstanding_interrupts
()
libs/sdk-py/tests/streaming/test_thread_stream.py:638
Function
test_run_respond_snapshots_interrupts_under_lock
`respond()` must take a snapshot of `interrupts` under the `_interrupts_lock`, so a concurrent terminal-event clear cannot invalidate the in-f
libs/sdk-py/tests/streaming/test_thread_stream.py:661
Function
test_run_respond_with_explicit_interrupt_id
()
libs/sdk-py/tests/streaming/test_thread_stream.py:619
Function
test_run_start_forwards_config_metadata_and_langsmith_tracing
()
libs/sdk-py/tests/streaming/test_thread_stream.py:290
Function
test_run_start_raises_on_error_envelope
()
libs/sdk-py/tests/streaming/test_thread_stream.py:324
Function
test_run_start_raises_outside_context_manager
()
libs/sdk-py/tests/streaming/test_thread_stream.py:314
Function
test_run_start_sends_command_with_assistant_id
()
libs/sdk-py/tests/streaming/test_thread_stream.py:264
Function
test_run_start_sets_run_seen
run.start() sets _run_seen to True (even without lifecycle event).
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:140
Function
test_run_start_timeout_constructor_kwarg_forwarded_to_gate
`run_start_timeout` constructor kwarg is stored and consulted by `_reconcile_stream` via `_await_run_start_gate`.
libs/sdk-py/tests/streaming/test_thread_stream.py:553
Function
test_run_with_retry_creates_execution_info_when_missing
Test that run_with_retry works when runtime has no execution_info (distributed runtime scenario).
libs/langgraph/tests/test_retry.py:593
Function
test_run_with_retry_rejects_sync_timeout_without_starting_proc
()
libs/langgraph/tests/test_retry.py:720
Function
test_run_with_retry_sync_node_raising_cancelled_becomes_node_cancelled
()
libs/langgraph/tests/test_retry.py:2862
Function
test_run_with_retry_without_timeout_runs_sync_directly
()
libs/langgraph/tests/test_retry.py:736
Function
test_runnable_callable_basic
()
libs/langgraph/tests/test_runnable.py:59
Function
test_runnable_callable_func_accepts
()
libs/langgraph/tests/test_runnable.py:16
Function
test_runnable_callable_injectable_arguments
Test injectable arguments for RunnableCallable. This test verifies that injectable arguments like BaseStore work correctly. It tests: - O
libs/langgraph/tests/test_runnable.py:77
Function
test_runnable_callable_injectable_arguments_async
Test injectable arguments for async RunnableCallable. This test verifies that injectable arguments like BaseStore work correctly in the async
libs/langgraph/tests/test_runnable.py:205
Function
test_runnable_callable_tracing_nested
(rt_graph: CompiledStateGraph)
libs/langgraph/tests/test_utils.py:135
Function
test_runnable_callable_tracing_nested_async
( rt_graph: CompiledStateGraph, )
libs/langgraph/tests/test_utils.py:148
Function
test_runnable_passthrough_node_graph
()
libs/langgraph/tests/test_pregel.py:4724
Function
test_runnable_prompt
()
libs/prebuilt/tests/test_react_agent.py:194
Function
test_runs_create_get_list_async
(async_threads)
libs/sdk-py/tests/integration/test_runs.py:34
Function
test_runs_create_get_list_sync
(sync_threads)
libs/sdk-py/tests/integration/test_runs.py:59
Method
test_runs_delete_double_id_pivot_stays_on_threads_runs
(self)
libs/sdk-py/tests/test_path_encoding.py:184
Method
test_runs_delete_double_id_pivot_stays_on_threads_runs
(self)
libs/sdk-py/tests/test_path_encoding.py:388
Function
test_runs_wait_async
`wait` blocks until the run reaches a terminal state and returns its values.
libs/sdk-py/tests/integration/test_runs.py:82
Function
test_runs_wait_sync
(sync_threads)
libs/sdk-py/tests/integration/test_runs.py:109
Function
test_runtime_execution_info_defaults_without_retry
Test execution_info defaults when no retry and no config are provided.
libs/langgraph/tests/test_retry.py:308
Function
test_runtime_heartbeat_outside_idle_attempt_is_no_op
()
libs/langgraph/tests/test_retry.py:1060
Function
test_runtime_propogated_to_subgraph
()
libs/langgraph/tests/test_runtime.py:271
Method
test_safe_types_no_warning
Test safe types deserialize without warnings through encryption.
libs/checkpoint/tests/test_encrypted.py:114
Method
test_safe_types_value_equality
Verify safe types are correctly restored with proper values through encryption.
libs/checkpoint/tests/test_encrypted.py:217
Function
test_sanitize_config
()
libs/langgraph/tests/test_remote_graph.py:1185
Function
test_saved_checkpoint_state_graph
( sync_checkpointer: BaseCheckpointSaver, checkpoint_version: str, )
libs/langgraph/tests/test_checkpoint_migration.py:1600
Function
test_saved_checkpoint_state_graph_async
( async_checkpointer: BaseCheckpointSaver, checkpoint_version: str, )
libs/langgraph/tests/test_checkpoint_migration.py:1666
Method
test_schedule_joins_tasks_before_afinalize
Every scheduled task must complete before afinalize runs.
libs/langgraph/tests/test_pregel_stream_events_v3.py:1467
Method
test_schedule_on_error_log_swallows_exceptions
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1527
Method
test_schedule_on_error_raise_fails_the_run
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1551
Method
test_schedule_without_running_loop_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1406
Function
test_scoped_handle_inboxes_bounded_by_max_queue_size
ScopedStreamHandle with max_queue_size=N creates queues with maxsize=N.
libs/sdk-py/tests/streaming/test_scoped_handles.py:435
Function
test_scoped_transformer_filters_outside_scope_but_tracks_all_depths
Scope filters the prefix; subgraphs at any depth below scope are tracked.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:287
Function
test_scores
Test operation-level field configuration for vector search.
libs/checkpoint-sqlite/tests/test_store.py:792
Function
test_scores
Test operation-level field configuration for vector search.
libs/checkpoint-postgres/tests/test_store.py:928
Function
test_search
(saver_name: str, test_data)
libs/checkpoint-postgres/tests/test_sync.py:214
Function
test_search
(store)
libs/checkpoint-postgres/tests/test_store.py:454
Method
test_search
(self)
libs/checkpoint-sqlite/tests/test_sqlite.py:78
Method
test_search
(self)
libs/checkpoint-sqlite/tests/test_store.py:401
Method
test_search
(self)
libs/checkpoint/tests/test_memory.py:100
Function
test_search_empty_prefix_is_unconstrained
An empty prefix constrains nothing and must return every namespace.
libs/checkpoint-sqlite/tests/test_store.py:1354
Function
test_search_empty_prefix_is_unconstrained
An empty prefix constrains nothing and must return every namespace.
libs/checkpoint-postgres/tests/test_store.py:388
Function
test_search_items
Test search_items functionality by calling store methods directly.
libs/checkpoint-sqlite/tests/test_async_store.py:661
Function
test_search_items
Test search_items functionality by calling store methods directly.
libs/checkpoint-sqlite/tests/test_store.py:992
Function
test_search_namespace_is_case_sensitive
Search must agree with get/put, which compare namespaces with `=`. SQLite's LIKE is case-insensitive for ASCII, so matching with it conflated
libs/checkpoint-sqlite/tests/test_store.py:1307
Function
test_search_namespace_like_metacharacters
`_` and `%` are legal namespace labels, not LIKE wildcards.
libs/checkpoint-postgres/tests/test_store.py:400
Function
test_search_namespace_segment_boundary
Prefix scoping must stop at namespace segment boundaries. Namespaces are stored dot-joined, so matching the raw text also returns siblings sh
libs/checkpoint-sqlite/tests/test_store.py:1254
Function
test_search_namespace_segment_boundary
Prefix scoping must stop at namespace segment boundaries. Namespaces are stored dot-joined, so matching the raw text also returns siblings sh
libs/checkpoint-postgres/tests/test_store.py:356
Function
test_search_namespace_wildcard_chars_are_literal
LIKE and GLOB metacharacters in labels must be matched literally.
libs/checkpoint-sqlite/tests/test_store.py:1284
Function
test_search_sorting
Test operation-level field configuration for vector search.
libs/checkpoint-postgres/tests/test_async_store.py:688
Method
test_search_where
(self)
libs/checkpoint-sqlite/tests/test_sqlite.py:131
Function
test_search_with_ttl
Test TTL with search operations.
libs/checkpoint-sqlite/tests/test_ttl.py:201
Function
test_second_call_of_a_checkpointer_true_subgraph_areads_its_own_history
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_subgraph.py:466
Function
test_second_call_of_a_checkpointer_true_subgraph_reads_its_own_history
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_subgraph.py:434
Method
test_second_subscribe_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:169
Method
test_seed_bounds_walk_without_dropping_its_own_writes
The seed terminator bounds the walk: writes at ancestors OLDER than the seed are already folded into the seed value and must not be re
libs/checkpoint/tests/test_memory.py:684
Method
test_seed_from_pre_delta_ancestor_blob
(self)
libs/checkpoint/tests/test_memory.py:661
Function
test_seed_omitted_when_walk_reaches_root_async
Async equivalent of the root-walk seed-absence check.
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:255
Function
test_seed_omitted_when_walk_reaches_root_sync
`get_delta_channel_history` on the root checkpoint → no `seed` key, no writes.
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:196
Function
test_seed_present_when_snapshot_in_ancestor_sync
Inserting a `_DeltaSnapshot` blob at an ancestor → walk returns it as `seed`.
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:146
Function
test_seen_event_ids_contains_false_for_missing
()
libs/sdk-py/tests/streaming/test_controller.py:97
Function
test_seen_event_ids_dedupes_replayed_events
()
libs/sdk-py/tests/streaming/test_shared_stream.py:36
Function
test_seen_event_ids_default_maxsize_is_10000
Default `_SeenEventIds` max is 10_000.
libs/sdk-py/tests/streaming/test_controller.py:86
Function
test_seen_event_ids_is_bounded_lru
`_SeenEventIds` must evict oldest entries when capacity is exceeded. Default cap is 10_000; explicit kwarg overrides.
libs/sdk-py/tests/streaming/test_controller.py:58
Function
test_seen_event_ids_iter_returns_keys
()
libs/sdk-py/tests/streaming/test_controller.py:102
Function
test_seen_event_ids_move_to_end_on_re_add
`_SeenEventIds.add` of an existing key must promote it (LRU move-to-end).
libs/sdk-py/tests/streaming/test_controller.py:73
Function
test_self_hosted_control_plane_keeps_its_default_placement
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:791
Function
test_self_hosted_control_plane_places_when_asked
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:804
Function
test_send_command_applied_through_seq_seeds_shared_stream_since
()
libs/sdk-py/tests/streaming/test_shared_stream.py:324
Function
test_send_command_empty_200_body_raises_runtime_error_not_decoder_error
A 200 response with empty body must raise RuntimeError matching the 'did not return a valid response' contract, not orjson.JSONDecodeError.
libs/sdk-py/tests/streaming/test_transport_http.py:270
Function
test_send_command_posts_json_and_returns_response
()
libs/sdk-py/tests/streaming/test_transport_http.py:46
Function
test_send_command_raises_http_error_on_4xx
()
libs/sdk-py/tests/streaming/test_transport_http.py:93
Function
test_send_command_raises_when_closed
()
libs/sdk-py/tests/streaming/test_transport_http.py:82
Function
test_send_command_returns_none_on_202
()
libs/sdk-py/tests/streaming/test_transport_http.py:63
Function
test_send_dedupe_on_resume
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2530
← previous
next →
6,101–6,200 of 7,100, ranked by callers