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_filter_injected_state_validation_errors
Test that validation errors for InjectedState arguments are filtered out. InjectedState parameters are not controlled by the LLM, so any validati
libs/prebuilt/tests/test_tool_node_validation_error_filtering.py:41
Function
test_filter_injected_store_validation_errors
Test that validation errors for InjectedStore arguments are filtered out. InjectedStore parameters are not controlled by the LLM, so any validati
libs/prebuilt/tests/test_tool_node_validation_error_filtering.py:95
Function
test_filter_keys_with_hyphens_and_digits
Keys with hyphens or leading digits should be queryable via filters. Current unquoted JSON path construction (e.g., '$.access-level' or '$.123abc
libs/checkpoint-sqlite/tests/test_store.py:1176
Function
test_filter_multiple_injected_args
Test filtering when a tool has multiple injected arguments. When a tool uses multiple injected parameters (state, store, runtime), none of th
libs/prebuilt/tests/test_tool_node_validation_error_filtering.py:207
Function
test_filter_tool_runtime_validation_errors
Test that validation errors for ToolRuntime arguments are filtered out. ToolRuntime parameters are not controlled by the LLM, so any validation
libs/prebuilt/tests/test_tool_node_validation_error_filtering.py:154
Method
test_filters_to_matching_repo
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:804
Method
test_finalize_clears_routing_state
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:401
Function
test_finalize_completes_open_handles
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:260
Function
test_finalize_completes_open_subgraphs
()
libs/langgraph/tests/test_stream_lifecycle_transformer.py:245
Function
test_finding_a_deployment_by_name_narrows_the_search_for_every_server_version
()
libs/cli/tests/unit_tests/test_deploy_helpers.py:1066
Method
test_finish_closes_stream
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:121
Method
test_finish_unwraps_serialized_tool_message_output
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:145
Method
test_finish_unwraps_tool_message_output
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:131
Function
test_finished_task_does_not_report_answered_interrupt
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_interrupt_state.py:100
Function
test_finished_task_does_not_report_answered_interrupt_async
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:156
Function
test_first_local_deploy_creates_an_internal_docker_deployment
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:346
Function
test_first_local_deploy_creates_then_builds_pushes_and_updates_in_order
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:326
Function
test_first_post_migration_write_survives_cold_read
One non-snapshotting write after migrating a thread to `DeltaChannel` must still be present when the state is read back from the checkpointer.
libs/langgraph/tests/test_delta_channel_migration.py:638
Function
test_first_post_migration_write_survives_cold_read_async
Async variant of the #8384 regression.
libs/langgraph/tests/test_delta_channel_migration.py:663
Function
test_first_write_pending_at_an_interrupt_is_applied_once_on_resume
( durability: Any, )
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:377
Method
test_flags_select_one_source
( self, monkeypatch, mocker, flags, docker_available, expected )
libs/cli/tests/unit_tests/test_deploy_helpers.py:711
Method
test_for_host_targets_the_deployment_platform
(self, machine, verbose, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:609
Function
test_force_complete_uses_completed_when_run_completed
If the lifecycle signals a completed run, any subgraph child still 'started' at finally time is force-finished as 'completed' (normal case).
libs/sdk-py/tests/streaming/test_scoped_handles.py:513
Function
test_force_complete_uses_failed_when_run_errored
If the lifecycle signals an errored run, scoped children that are still 'started' when the subgraphs projection's finally block runs must be f
libs/sdk-py/tests/streaming/test_scoped_handles.py:484
Function
test_forced_snapshot_accumulates_across_runs
Supersteps counter for an unwritten channel persists across separate invoke() calls. After enough runs, the channel is force-snapshotted.
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:120
Function
test_forced_snapshot_single_run
A single invoke with enough supersteps triggers snapshot on the unwritten channel B via the supersteps bound.
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:73
Function
test_foreign_object_in_runtime_slot_is_coerced
A non-`Runtime` under `CONFIG_KEY_RUNTIME` is adopted, not crashed on, and the `context` it carries is plumbed through. Layers outside a run
libs/langgraph/tests/test_runtime.py:1171
Function
test_fork_always_re_runs_nodes
( sync_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases.py:306
Function
test_fork_always_re_runs_nodes
( async_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases_async.py:301
Function
test_fork_and_update_task_results
Test forking and updating task results with state history.
libs/langgraph/tests/test_pregel_async.py:8942
Function
test_fork_and_update_task_results
Test forking and updating task results with state history.
libs/langgraph/tests/test_pregel.py:8473
Function
test_fork_before_first_value_by_bulk_update
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_fork.py:459
Function
test_fork_before_first_value_when_fork_never_writes_the_channel
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:421
Function
test_fork_by_bulk_update_whose_first_superstep_is_not_a_node
( sync_checkpointer: BaseCheckpointSaver, first_as_node: str )
libs/langgraph/tests/test_delta_channel_fork.py:483
Function
test_fork_by_invoke
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:113
Function
test_fork_by_update_state
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_delta_channel_fork.py:207
Function
test_fork_creates_branch_in_subgraph
Forking a graph with a subgraph from a mid-run checkpoint creates a new branch while preserving the original checkpoint sequence. The subgrap
libs/langgraph/tests/test_time_travel.py:3331
Function
test_fork_creates_branch_in_subgraph
Forking a graph with a subgraph from a mid-run checkpoint creates a new branch while preserving the original checkpoint sequence. The subgrap
libs/langgraph/tests/test_time_travel_async.py:2750
Function
test_fork_creates_branch_preserving_old_checkpoints
Forking (update_state + invoke) from a mid-run checkpoint creates a new branch of checkpoints while the original sequence is preserved. Origi
libs/langgraph/tests/test_time_travel.py:3205
Function
test_fork_creates_branch_preserving_old_checkpoints
Forking (update_state + invoke) from a mid-run checkpoint creates a new branch of checkpoints while the original sequence is preserved. Origi
libs/langgraph/tests/test_time_travel_async.py:2623
Function
test_fork_does_not_apply_pending_writes
Test that forking with aupdate_state does not apply pending writes from original execution.
libs/langgraph/tests/test_pregel_async.py:9560
Function
test_fork_does_not_apply_pending_writes
Test that forking with update_state does not apply pending writes from original execution.
libs/langgraph/tests/test_pregel.py:9373
Function
test_fork_from_before_interrupt_refires
Fork from checkpoint before interrupt node. Interrupt IS re-triggered because fork has no cached resume values. Resume with new answer.
libs/langgraph/tests/test_time_travel.py:445
Function
test_fork_from_before_interrupt_refires
Fork from checkpoint before interrupt node. Interrupt IS re-triggered because fork has no cached resume values. Resume with new answer.
libs/langgraph/tests/test_time_travel_async.py:351
Function
test_fork_from_interrupt_checkpoint_refires
Fork from the checkpoint where interrupt fired. Interrupt re-triggered because fork clears cached data. Resume with different answer.
libs/langgraph/tests/test_time_travel.py:497
Function
test_fork_from_interrupt_checkpoint_refires
Fork from the checkpoint where interrupt fired. Interrupt re-triggered because fork clears cached data. Resume with different answer.
libs/langgraph/tests/test_time_travel_async.py:404
Function
test_fork_from_update_state_checkpoint
Branching a new run from the checkpoint produced by `update_state` must use that checkpoint's concrete blob as the base. Additional deltas fro
libs/langgraph/tests/test_delta_channel_migration.py:483
Function
test_fork_off_checkpoint_before_first_input
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:169
Function
test_fork_reruns_with_modified_state
Fork from checkpoint before node_b with modified state. node_b re-executes with the new state.
libs/langgraph/tests/test_time_travel.py:143
Function
test_fork_reruns_with_modified_state
Fork from checkpoint before node_b with modified state. node_b re-executes with the new state.
libs/langgraph/tests/test_time_travel_async.py:155
Function
test_format_deployments_table
()
libs/cli/tests/unit_tests/test_util.py:205
Function
test_format_revisions_table
()
libs/cli/tests/unit_tests/test_util.py:229
Function
test_fresh_thread_happy_path_end_to_end
User passes no thread_id; SDK mints one and uses it in all URLs. Validates core surface end-to-end: - uuid4 minted at client.threads.stream
libs/sdk-py/tests/streaming/test_thread_stream.py:448
Function
test_fresh_update_state_head_snapshots_delta_channel
()
libs/langgraph/tests/test_delta_channel_update_state.py:98
Function
test_fresh_update_state_stores_nothing_for_a_delta_channel_it_did_not_write
()
libs/langgraph/tests/test_delta_channel_update_state.py:116
Method
test_from_resource_reads_the_control_plane_shape
(self, resource, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:968
Method
test_full_entry_epoch
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:19
Method
test_full_entry_string
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:24
Method
test_full_lifecycle_yields_done_stream
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:190
Method
test_full_pivot_payload_is_encoded
(self)
libs/sdk-py/tests/test_path_encoding.py:56
Function
test_function_in_conditional_edges_with_no_path_map
()
libs/langgraph/tests/test_pregel.py:2950
Method
test_functional_roundtrip_with_allowlist
End-to-end test: allowlist applied via _with_msgpack_allowlist works.
libs/checkpoint/tests/test_encrypted.py:351
Function
test_functional_task_finished_with_none_is_not_rerun
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:440
Method
test_get_channel_writes_at_root_returns_empty
Reconstructing the root checkpoint's state: no ancestors → [].
libs/checkpoint/tests/test_memory.py:391
Method
test_get_channel_writes_collects_ancestor_writes_only
`get_delta_channel_history` collects ancestor writes oldest→newest, and excludes writes stored at the target checkpoint itself (those are
libs/checkpoint/tests/test_memory.py:337
Function
test_get_checkpoint_no_channel_values
Backwards compatibility test that verifies a checkpoint with no channel_values key can be retrieved without throwing an error.
libs/checkpoint-postgres/tests/test_sync.py:334
Function
test_get_checkpoint_no_channel_values
Backwards compatibility test that verifies a checkpoint with no channel_values key can be retrieved without throwing an error.
libs/checkpoint-postgres/tests/test_async.py:346
Method
test_get_client_loads_from_env_by_default
Test that API key is loaded from environment by default.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:12
Method
test_get_client_skips_env_when_sentinel_used
Test that API key is not loaded from environment when None is explicitly passed.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:22
Method
test_get_client_uses_explicit_key_when_provided
Test that explicit API key takes precedence over environment.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:31
Function
test_get_deploy_logs_all_revisions
()
libs/cli/tests/unit_tests/test_host_backend.py:142
Function
test_get_deploy_logs_specific_revision
()
libs/cli/tests/unit_tests/test_host_backend.py:155
Function
test_get_graph
()
libs/langgraph/tests/test_remote_graph.py:75
Function
test_get_graph_loop
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8226
Function
test_get_graph_nonterminal_last_step_source
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8867
Function
test_get_graph_root_channel
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8275
Function
test_get_graph_self_loop
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8249
Function
test_get_model
()
libs/prebuilt/tests/test_react_agent.py:1530
Function
test_get_state
()
libs/langgraph/tests/test_remote_graph.py:172
Function
test_get_state_history
()
libs/langgraph/tests/test_remote_graph.py:276
Function
test_get_state_with_subgraphs_returns_subgraph_state
get_state(config, subgraphs=True) returns subgraph state and checkpoint config when paused at interrupt.
libs/langgraph/tests/test_time_travel.py:2669
Function
test_get_state_with_subgraphs_returns_subgraph_state
get_state(config, subgraphs=True) returns subgraph state and checkpoint config when paused at interrupt.
libs/langgraph/tests/test_time_travel_async.py:2141
Function
test_get_stream_writer
()
libs/langgraph/tests/test_pregel.py:7210
Method
test_get_sync_client_loads_from_env_by_default
Test that sync client loads API key from environment by default.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:43
Method
test_get_sync_client_skips_env_when_sentinel_used
Test that sync client doesn't load from environment when None is explicitly passed.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:52
Method
test_get_sync_client_uses_explicit_key_when_provided
Test that sync client uses explicit API key when provided.
libs/sdk-py/tests/test_skip_auto_load_api_key.py:60
Function
test_get_text_at_path
()
libs/checkpoint/tests/test_store.py:74
Function
test_get_text_at_path_with_non_dict_mapping
(mapping: Mapping[str, str])
libs/checkpoint/tests/test_store.py:149
Function
test_get_tree_and_extensions_cache_async
(async_threads)
libs/sdk-py/tests/integration/test_helpers.py:12
Function
test_get_tree_and_extensions_cache_sync
(sync_threads)
libs/sdk-py/tests/integration/test_helpers.py:29
Function
test_get_tuple_checkpoint_fields
All Checkpoint fields present.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:91
Function
test_get_tuple_config_structure
tuple.config has thread_id, checkpoint_ns, checkpoint_id.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:74
Function
test_get_tuple_latest_when_no_checkpoint_id
Returns newest checkpoint when no checkpoint_id in config.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:27
Function
test_get_tuple_metadata
metadata populated correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:110
Function
test_get_tuple_nonexistent_checkpoint_id
Specific but missing checkpoint_id returns None.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:200
Function
test_get_tuple_nonexistent_returns_none
Missing thread returns None.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:18
Function
test_get_tuple_parent_config
parent_config when parent exists, None otherwise.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:124
Function
test_get_tuple_pending_writes
pending_writes from put_writes visible.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:152
Function
test_get_tuple_respects_namespace
checkpoint_ns filtering.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:179
Function
test_get_tuple_specific_checkpoint_id
Returns exact match when checkpoint_id specified.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:53
← previous
next →
5,101–5,200 of 7,100, ranked by callers