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_drain_then_cancel_after_graceful_timeout
Simulate: drain requested -> node still running -> graceful timeout -> cancel. This shows what happens when a long-running node doesn't finish wi
libs/langgraph/tests/test_runtime.py:673
Function
test_drain_with_control_parameter_sync
Control parameter is wired through invoke -> stream.
libs/langgraph/tests/test_runtime.py:885
Function
test_drain_with_exit_durability_persists_resume_checkpoint
()
libs/langgraph/tests/test_runtime.py:172
Method
test_drained_subscriber_buffer_returns_to_empty
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1707
Function
test_draw_invalid
()
libs/langgraph/tests/test_pregel_async.py:8638
Method
test_duplicate_handlers_raise_error
Registering the same handler type twice raises DuplicateHandlerError.
libs/sdk-py/tests/test_encryption.py:41
Function
test_duplicate_remove_message
()
libs/langgraph/tests/test_messages_state.py:107
Function
test_duplicates_in_input
()
libs/langgraph/tests/test_messages_state.py:71
Function
test_duplicates_in_input_with_remove
()
libs/langgraph/tests/test_messages_state.py:83
Function
test_dynamic_interrupt
(async_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel_async.py:609
Function
test_dynamic_interrupt
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_large_cases.py:4147
Function
test_dynamic_interrupt_subgraph
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:760
Function
test_dynamic_interrupt_subgraph
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_large_cases.py:4462
Function
test_dynamic_model_async
Test dynamic model with async operations.
libs/prebuilt/tests/test_react_agent.py:1708
Function
test_dynamic_model_basic
Test basic dynamic model functionality.
libs/prebuilt/tests/test_react_agent.py:1555
Function
test_dynamic_model_error_handling
Test error handling in dynamic model.
libs/prebuilt/tests/test_react_agent.py:1817
Function
test_dynamic_model_receives_correct_state
Test that the dynamic model function receives the correct state, not the model input.
libs/prebuilt/tests/test_react_agent.py:1859
Function
test_dynamic_model_receives_correct_state_async
Test that the async dynamic model function receives the correct state, not the model input.
libs/prebuilt/tests/test_react_agent.py:1890
Function
test_dynamic_model_state_dependent_tools
Test dynamic model that changes available tools based on state.
libs/prebuilt/tests/test_react_agent.py:1777
Function
test_dynamic_model_vs_static_model_behavior
Test that dynamic and static models produce equivalent results when configured the same.
libs/prebuilt/tests/test_react_agent.py:1836
Function
test_dynamic_model_with_checkpointer
Test dynamic model with checkpointer.
libs/prebuilt/tests/test_react_agent.py:1745
Function
test_dynamic_model_with_context
Test dynamic model using config parameters.
libs/prebuilt/tests/test_react_agent.py:1629
Function
test_dynamic_model_with_prompt
Test dynamic model with different prompt types.
libs/prebuilt/tests/test_react_agent.py:1685
Function
test_dynamic_model_with_state_schema
Test dynamic model with custom state schema.
libs/prebuilt/tests/test_react_agent.py:1660
Function
test_dynamic_model_with_structured_response
Test dynamic model with structured response format.
libs/prebuilt/tests/test_react_agent.py:1722
Function
test_dynamic_model_with_tools
Test dynamic model with tool calling.
libs/prebuilt/tests/test_react_agent.py:1577
Function
test_embed_with_path
Test vector search with specific text fields in SQLite store.
libs/checkpoint-sqlite/tests/test_async_store.py:451
Function
test_embed_with_path
Test vector search with specific text fields in SQLite store.
libs/checkpoint-sqlite/tests/test_store.py:657
Function
test_embed_with_path
Test vector search with specific text fields in Postgres store.
libs/checkpoint-postgres/tests/test_async_store.py:629
Function
test_embed_with_path
(fake_embeddings: CharacterEmbeddings)
libs/checkpoint/tests/test_store.py:933
Function
test_embed_with_path_operation_config
Test operation-level field configuration for vector search.
libs/checkpoint-sqlite/tests/test_store.py:715
Function
test_embed_with_path_operation_config
Test operation-level field configuration for vector search.
libs/checkpoint-postgres/tests/test_store.py:803
Function
test_embed_with_path_sync
Test vector search with specific text fields in Postgres store.
libs/checkpoint-postgres/tests/test_store.py:731
Method
test_emit_output_delta_produces_delta_events
(self)
libs/langgraph/tests/test_tool_stream_handler.py:102
Method
test_empty
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:11
Function
test_empty_channels_returns_empty_mapping_async
Async equivalent of the empty-channels short-circuit.
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:221
Function
test_empty_channels_returns_empty_mapping_sync
Empty `channels` short-circuits to `{}` without touching storage.
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:110
Method
test_empty_defaults_to_latest
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:100
Method
test_empty_entry
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:40
Function
test_empty_inputs
()
libs/langgraph/tests/test_messages_state.py:145
Function
test_empty_invoke
()
libs/langgraph/tests/test_pregel.py:7531
Method
test_empty_log_async
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:309
Method
test_empty_log_fail_async
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:316
Method
test_empty_log_fail_sync
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:237
Method
test_empty_log_sync
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:231
Function
test_empty_metadata_dict_falls_through
An explicit empty metadata dict is treated the same as no metadata.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:431
Method
test_empty_mux
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:941
Method
test_empty_mux_fail
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:950
Method
test_empty_operations
Test behavior with empty keys/values.
libs/checkpoint/tests/test_redis_cache.py:149
Method
test_empty_projection
(self)
libs/langgraph/tests/test_interleave_arrival_order.py:202
Method
test_empty_repodigests_falls_back_with_warning
(self, mocker)
libs/cli/tests/unit_tests/test_deploy_helpers.py:833
Method
test_empty_returns_none
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:57
Method
test_empty_string_returns_app
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:86
Function
test_enhanced_type_hints
()
libs/langgraph/tests/test_utils.py:248
Function
test_ensure_config_ambient_inherited_when_no_explicit_configurable
()
libs/langgraph/tests/test_utils.py:525
Function
test_ensure_config_configurable_later_wins_per_key
()
libs/langgraph/tests/test_utils.py:499
Function
test_ensure_config_empty_inputs
()
libs/langgraph/tests/test_utils.py:788
Function
test_ensure_config_explicit_configurable_replaces_ambient
()
libs/langgraph/tests/test_utils.py:508
Function
test_ensure_config_explicit_configurables_still_merge_over_ambient
()
libs/langgraph/tests/test_utils.py:539
Function
test_ensure_config_merges_callbacks_across_configs
()
libs/langgraph/tests/test_utils.py:775
Function
test_ensure_config_merges_configurable_across_configs
()
libs/langgraph/tests/test_utils.py:491
Function
test_ensure_config_merges_metadata_across_configs
()
libs/langgraph/tests/test_utils.py:592
Function
test_ensure_config_merges_metadata_lc_versions
()
libs/langgraph/tests/test_utils.py:623
Function
test_ensure_config_merges_tags_across_configs
()
libs/langgraph/tests/test_utils.py:760
Function
test_ensure_config_metadata_later_wins_per_key
()
libs/langgraph/tests/test_utils.py:600
Function
test_ensure_config_non_coordinate_config_keeps_ambient_checkpoint_ns
()
libs/langgraph/tests/test_utils.py:559
Function
test_ensure_config_none_inputs_ignored
()
libs/langgraph/tests/test_utils.py:782
Function
test_ensure_config_same_thread_id_still_clears_ambient
()
libs/langgraph/tests/test_utils.py:576
Function
test_ensure_config_tags_concat_preserves_order_and_duplicates
()
libs/langgraph/tests/test_utils.py:767
Function
test_ensure_execution_info_creates_from_config
Test that _ensure_execution_info creates ExecutionInfo from config when missing.
libs/langgraph/tests/test_retry.py:558
Function
test_ensure_execution_info_falls_back_to_task_id
Test that _ensure_execution_info uses task.id when CONFIG_KEY_TASK_ID is missing.
libs/langgraph/tests/test_retry.py:581
Function
test_ensure_execution_info_noop_when_already_set
Test that _ensure_execution_info is a no-op when execution_info exists.
libs/langgraph/tests/test_retry.py:544
Function
test_enter_calls_sdk_enter_then_run_start_and_captures_run_id
()
libs/langgraph/tests/test_remote_graph_v3.py:45
Function
test_enter_unwinds_sdk_cm_when_run_start_raises
()
libs/langgraph/tests/test_remote_graph_v3.py:63
Function
test_entrypoint_from_async_generator
@entrypoint does not support async generators.
libs/langgraph/tests/test_pregel_async.py:7488
Function
test_entrypoint_from_sync_generator
@entrypoint does not support sync generators.
libs/langgraph/tests/test_pregel.py:6423
Function
test_entrypoint_output_schema_with_return_and_save
Test output schema inference with entrypoint.final.
libs/langgraph/tests/test_pregel.py:6757
Function
test_entrypoint_retry_arg
()
libs/langgraph/tests/test_deprecation.py:49
Function
test_entrypoint_stateful
Test stateful entrypoint invoke.
libs/langgraph/tests/test_pregel_async.py:7393
Function
test_entrypoint_stateful
Test stateful entrypoint invoke.
libs/langgraph/tests/test_pregel.py:6331
Function
test_entrypoint_stateful_update_state
Test stateful entrypoint invoke.
libs/langgraph/tests/test_pregel_async.py:7437
Function
test_entrypoint_stateful_update_state
Test stateful entrypoint invoke.
libs/langgraph/tests/test_pregel.py:6372
Function
test_entrypoint_timeout_allows_pre_timeout_child_task_to_run
()
libs/langgraph/tests/test_retry.py:809
Function
test_entrypoint_timeout_e2e
()
libs/langgraph/tests/test_retry.py:1558
Function
test_entrypoint_with_return_and_save
Test entrypoint with return and save.
libs/langgraph/tests/test_pregel.py:6787
Function
test_entrypoint_without_checkpointer
Test no checkpointer.
libs/langgraph/tests/test_pregel_async.py:7371
Function
test_entrypoint_without_checkpointer
Test no checkpointer.
libs/langgraph/tests/test_pregel.py:6309
Function
test_enum_node_names
()
libs/langgraph/tests/test_pregel.py:4329
Method
test_env_dict
(self, tmp_path)
libs/cli/tests/unit_tests/test_deploy_helpers.py:175
Method
test_env_dotenv_filters_none_values
(self, tmp_path)
libs/cli/tests/unit_tests/test_deploy_helpers.py:215
Method
test_env_empty_dict_falls_back_to_dotenv
validate_config defaults env to {}, should still fall back to .env.
libs/cli/tests/unit_tests/test_deploy_helpers.py:198
Method
test_env_missing_falls_back_to_dotenv
(self, tmp_path, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:189
Method
test_env_missing_no_dotenv_returns_empty
(self, tmp_path, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:208
Method
test_env_string_dotenv_file
(self, tmp_path)
libs/cli/tests/unit_tests/test_deploy_helpers.py:181
Method
test_epoch_ms
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:5
Method
test_error
(self)
libs/cli/tests/unit_tests/test_logs_helpers.py:45
Method
test_error_closes_stream
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:167
Function
test_error_detail_is_readable
(body, expected)
libs/cli/tests/unit_tests/test_host_backend.py:664
Method
test_error_event
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:412
Function
test_error_handler_resumes_after_crash
If the error handler crashes, resuming should re-schedule the handler (not re-execute the original failed node).
libs/langgraph/tests/test_retry.py:2689
← previous
next →
4,901–5,000 of 7,100, ranked by callers