MCPcopy Create free account

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

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

Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_filters_to_matching_repo
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:804
Methodtest_finalize_clears_routing_state
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:401
Functiontest_finalize_completes_open_handles
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:260
Functiontest_finalize_completes_open_subgraphs
()
libs/langgraph/tests/test_stream_lifecycle_transformer.py:245
Functiontest_finding_a_deployment_by_name_narrows_the_search_for_every_server_version
()
libs/cli/tests/unit_tests/test_deploy_helpers.py:1066
Methodtest_finish_closes_stream
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:121
Methodtest_finish_unwraps_serialized_tool_message_output
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:145
Methodtest_finish_unwraps_tool_message_output
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:131
Functiontest_finished_task_does_not_report_answered_interrupt
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_interrupt_state.py:100
Functiontest_finished_task_does_not_report_answered_interrupt_async
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:156
Functiontest_first_local_deploy_creates_an_internal_docker_deployment
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:346
Functiontest_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
Functiontest_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
Functiontest_first_post_migration_write_survives_cold_read_async
Async variant of the #8384 regression.
libs/langgraph/tests/test_delta_channel_migration.py:663
Functiontest_first_write_pending_at_an_interrupt_is_applied_once_on_resume
( durability: Any, )
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:377
Methodtest_flags_select_one_source
( self, monkeypatch, mocker, flags, docker_available, expected )
libs/cli/tests/unit_tests/test_deploy_helpers.py:711
Methodtest_for_host_targets_the_deployment_platform
(self, machine, verbose, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:609
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_fork_always_re_runs_nodes
( sync_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases.py:306
Functiontest_fork_always_re_runs_nodes
( async_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases_async.py:301
Functiontest_fork_and_update_task_results
Test forking and updating task results with state history.
libs/langgraph/tests/test_pregel_async.py:8942
Functiontest_fork_and_update_task_results
Test forking and updating task results with state history.
libs/langgraph/tests/test_pregel.py:8473
Functiontest_fork_before_first_value_by_bulk_update
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_fork.py:459
Functiontest_fork_before_first_value_when_fork_never_writes_the_channel
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:421
Functiontest_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
Functiontest_fork_by_invoke
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:113
Functiontest_fork_by_update_state
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_delta_channel_fork.py:207
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_fork_off_checkpoint_before_first_input
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:169
Functiontest_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
Functiontest_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
Functiontest_format_deployments_table
()
libs/cli/tests/unit_tests/test_util.py:205
Functiontest_format_revisions_table
()
libs/cli/tests/unit_tests/test_util.py:229
Functiontest_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
Functiontest_fresh_update_state_head_snapshots_delta_channel
()
libs/langgraph/tests/test_delta_channel_update_state.py:98
Functiontest_fresh_update_state_stores_nothing_for_a_delta_channel_it_did_not_write
()
libs/langgraph/tests/test_delta_channel_update_state.py:116
Methodtest_from_resource_reads_the_control_plane_shape
(self, resource, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:968
Methodtest_full_entry_epoch
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:19
Methodtest_full_entry_string
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:24
Methodtest_full_lifecycle_yields_done_stream
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:190
Methodtest_full_pivot_payload_is_encoded
(self)
libs/sdk-py/tests/test_path_encoding.py:56
Functiontest_function_in_conditional_edges_with_no_path_map
()
libs/langgraph/tests/test_pregel.py:2950
Methodtest_functional_roundtrip_with_allowlist
End-to-end test: allowlist applied via _with_msgpack_allowlist works.
libs/checkpoint/tests/test_encrypted.py:351
Functiontest_functional_task_finished_with_none_is_not_rerun
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:440
Methodtest_get_channel_writes_at_root_returns_empty
Reconstructing the root checkpoint's state: no ancestors → [].
libs/checkpoint/tests/test_memory.py:391
Methodtest_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
Functiontest_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
Functiontest_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
Methodtest_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
Methodtest_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
Methodtest_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
Functiontest_get_deploy_logs_all_revisions
()
libs/cli/tests/unit_tests/test_host_backend.py:142
Functiontest_get_deploy_logs_specific_revision
()
libs/cli/tests/unit_tests/test_host_backend.py:155
Functiontest_get_graph
()
libs/langgraph/tests/test_remote_graph.py:75
Functiontest_get_graph_loop
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8226
Functiontest_get_graph_nonterminal_last_step_source
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8867
Functiontest_get_graph_root_channel
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8275
Functiontest_get_graph_self_loop
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8249
Functiontest_get_model
()
libs/prebuilt/tests/test_react_agent.py:1530
Functiontest_get_state
()
libs/langgraph/tests/test_remote_graph.py:172
Functiontest_get_state_history
()
libs/langgraph/tests/test_remote_graph.py:276
Functiontest_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
Functiontest_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
Functiontest_get_stream_writer
()
libs/langgraph/tests/test_pregel.py:7210
Methodtest_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
Methodtest_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
Methodtest_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
Functiontest_get_text_at_path
()
libs/checkpoint/tests/test_store.py:74
Functiontest_get_text_at_path_with_non_dict_mapping
(mapping: Mapping[str, str])
libs/checkpoint/tests/test_store.py:149
Functiontest_get_tree_and_extensions_cache_async
(async_threads)
libs/sdk-py/tests/integration/test_helpers.py:12
Functiontest_get_tree_and_extensions_cache_sync
(sync_threads)
libs/sdk-py/tests/integration/test_helpers.py:29
Functiontest_get_tuple_checkpoint_fields
All Checkpoint fields present.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:91
Functiontest_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
Functiontest_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
Functiontest_get_tuple_metadata
metadata populated correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:110
Functiontest_get_tuple_nonexistent_checkpoint_id
Specific but missing checkpoint_id returns None.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:200
Functiontest_get_tuple_nonexistent_returns_none
Missing thread returns None.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:18
Functiontest_get_tuple_parent_config
parent_config when parent exists, None otherwise.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:124
Functiontest_get_tuple_pending_writes
pending_writes from put_writes visible.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:152
Functiontest_get_tuple_respects_namespace
checkpoint_ns filtering.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:179
Functiontest_get_tuple_specific_checkpoint_id
Returns exact match when checkpoint_id specified.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_get_tuple.py:53
← previousnext →5,101–5,200 of 7,100, ranked by callers