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_getattr_fallback_does_not_recurse_before_init
`__getattr__` reads the mux from `__dict__`, so it is safe pre-init. `self._mux` would re-enter `__getattr__` and overflow the stack when the
libs/langgraph/tests/test_stream_events_v3.py:1307
Function
test_graceful_failure_even_when_handle_errors_disabled_async
Test that async unregistered tool validation returns error even with handle_tool_errors=False.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:773
Function
test_graceful_failure_even_when_handle_errors_disabled_sync
Test that unregistered tool validation returns error even with handle_tool_errors=False.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:702
Function
test_graceful_failure_when_hook_does_not_override_unregistered_tool_async
Test graceful failure when async hook doesn't override unregistered tool.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:736
Function
test_graceful_failure_when_hook_does_not_override_unregistered_tool_sync
Test graceful failure when hook doesn't override unregistered tool.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:667
Function
test_grandchild_discovered_via_child_mini_mux
Each mini-mux owns its own scope; grandchildren live on the child handle.
libs/langgraph/tests/test_stream_subgraph_transformer.py:239
Function
test_grandchild_events_dispatched_to_correct_sibling_not_first_match
When two sibling grandchildren exist, messages scoped to one grandchild must not bleed into the other grandchild's inbox.
libs/sdk-py/tests/streaming/test_scoped_handles.py:363
Function
test_grandchild_namespace_discovered
Subgraphs at any depth below scope are tracked, not just direct children.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:144
Function
test_grandchild_sibling_routing_preserves_event_order
Events enqueued in a child handle's _messages_inbox before a grandchild is discovered via child.subgraphs must be delivered in arrival order, not
libs/sdk-py/tests/streaming/test_scoped_handles.py:286
Function
test_graph_callbacks_accept_base_callback_manager
()
libs/langgraph/tests/test_graph_callbacks.py:262
Function
test_graph_callbacks_continue_when_handler_raises_async
()
libs/langgraph/tests/test_graph_callbacks.py:215
Function
test_graph_callbacks_continue_when_interrupt_handler_raises_sync
()
libs/langgraph/tests/test_graph_callbacks.py:162
Function
test_graph_callbacks_continue_when_resume_handler_raises_sync
()
libs/langgraph/tests/test_graph_callbacks.py:179
Function
test_graph_callbacks_interrupt_and_resume_async
()
libs/langgraph/tests/test_graph_callbacks.py:135
Function
test_graph_callbacks_interrupt_and_resume_sync
()
libs/langgraph/tests/test_graph_callbacks.py:106
Function
test_graph_callbacks_raise_error_propagates_async
()
libs/langgraph/tests/test_graph_callbacks.py:245
Function
test_graph_callbacks_raise_error_propagates_sync
()
libs/langgraph/tests/test_graph_callbacks.py:196
Function
test_graph_error_handler_async_runtime_info
()
libs/langgraph/tests/test_pregel_async.py:9598
Function
test_graph_error_handler_can_route_with_command
()
libs/langgraph/tests/test_retry.py:2058
Function
test_graph_error_handler_does_not_swallow_interrupt_concurrent
When a graph error handler is configured and a node calls interrupt() concurrently with other nodes, the interrupt must still be raised — not
libs/langgraph/tests/test_pregel_async.py:9642
Function
test_graph_error_handler_does_not_swallow_interrupt_concurrent
When a graph error handler is configured and a node calls interrupt() concurrently with other nodes, the interrupt must still be raised — not
libs/langgraph/tests/test_retry.py:2198
Function
test_graph_error_handler_error_context_survives_checkpoint_resume
()
libs/langgraph/tests/test_retry.py:2162
Function
test_graph_error_handler_failure_fails_run
()
libs/langgraph/tests/test_retry.py:2100
Function
test_graph_error_handler_handles_subgraph_internal_failure
()
libs/langgraph/tests/test_retry.py:2121
Function
test_graph_error_handler_runs_after_retry_exhaustion
()
libs/langgraph/tests/test_retry.py:2009
Function
test_graph_output_contains_deprecation
()
libs/langgraph/tests/test_deprecation.py:361
Function
test_graph_output_getitem_deprecation
()
libs/langgraph/tests/test_deprecation.py:351
Function
test_graph_output_getitem_interrupt_deprecation
()
libs/langgraph/tests/test_deprecation.py:371
Function
test_graph_validation
()
libs/langgraph/tests/test_pregel.py:104
Function
test_graph_validation_with_command
()
libs/langgraph/tests/test_pregel.py:178
Function
test_graph_with_jitter_retry_policy
Test a graph with a RetryPolicy that uses jitter.
libs/langgraph/tests/test_retry.py:332
Function
test_graph_with_max_attempts_exceeded
Test a graph where max_attempts is exceeded.
libs/langgraph/tests/test_retry.py:447
Function
test_graph_with_multiple_retry_policies
Test a graph with multiple retry policies for a node.
libs/langgraph/tests/test_retry.py:379
Function
test_graph_with_single_retry_policy
Test a simple graph with a single RetryPolicy for a node.
libs/langgraph/tests/test_retry.py:249
Function
test_graph_without_a_checkpointer_areads_through_a_lent_saver
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_subgraph.py:416
Function
test_graph_without_a_checkpointer_reads_through_a_lent_saver
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_subgraph.py:399
Function
test_handle_created_on_first_direct_child_task
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:191
Function
test_handle_status_completes_on_parent_result
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:203
Function
test_handle_status_failed_with_error
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:213
Function
test_handle_status_interrupted
()
libs/langgraph/tests/test_stream_subgraph_transformer.py:223
Method
test_handler_astream_with_scheduled_work
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1634
Function
test_handler_can_modify_command_from_tool
Test that handler can inspect and modify Command from tool.
libs/prebuilt/tests/test_on_tool_call.py:1123
Function
test_handler_can_short_circuit_with_command
Test that handler can short-circuit by returning Command.
libs/prebuilt/tests/test_on_tool_call.py:961
Function
test_handler_can_throw_exception
Test that a handler can throw an exception to signal error.
libs/prebuilt/tests/test_on_tool_call.py:710
Function
test_handler_cannot_yield_multiple_commands
Test that handler can only return once (not applicable to handler pattern).
libs/prebuilt/tests/test_on_tool_call.py:999
Function
test_handler_cannot_yield_multiple_tool_messages
Test that handler can only return once (not applicable to handler pattern).
libs/prebuilt/tests/test_on_tool_call.py:885
Function
test_handler_cannot_yield_request_after_command
Test that handler can only return once (not applicable to handler pattern).
libs/prebuilt/tests/test_on_tool_call.py:1038
Function
test_handler_cannot_yield_request_after_tool_message
Test that handler pattern doesn't allow multiple returns (not applicable).
libs/prebuilt/tests/test_on_tool_call.py:923
Function
test_handler_multiple_resources_and_actions
()
libs/sdk-py/tests/test_auth.py:6
Function
test_handler_throw_without_handle_errors
Test that exception propagates when handle_tool_errors=False.
libs/prebuilt/tests/test_on_tool_call.py:755
Function
test_handler_validation_no_return
Test that handler must return a result.
libs/prebuilt/tests/test_on_tool_call.py:172
Function
test_handler_validation_no_yield
Test that handler that doesn't call execute returns None (bad behavior).
libs/prebuilt/tests/test_on_tool_call.py:209
Function
test_handler_with_async_execution
Test handler works correctly with async tool execution.
libs/prebuilt/tests/test_on_tool_call.py:359
Function
test_handler_with_handle_tool_errors_true
Test that handle_tool_errors=True works with on_tool_call handler.
libs/prebuilt/tests/test_on_tool_call.py:246
Method
test_handlers_must_be_async
Sync functions raise TypeError.
libs/sdk-py/tests/test_encryption.py:86
Method
test_handlers_must_have_two_params
Wrong parameter count raises TypeError.
libs/sdk-py/tests/test_encryption.py:96
Method
test_handles_extra_contexts
Monorepo case: project + sibling dependency directory.
libs/cli/tests/unit_tests/test_archive.py:275
Function
test_handles_multiple_interrupts_from_tasks
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:7927
Method
test_happy_path_returns_digest
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:794
Method
test_hardlink_rejected
(self)
libs/cli/tests/unit_tests/test_archive.py:35
Method
test_heartbeat_event
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:470
Method
test_heartbeat_silent_in_text_mode
(self, capsys)
libs/cli/tests/unit_tests/test_deploy_helpers.py:477
Function
test_history_empty_channels_returns_empty
Empty channels list returns empty mapping.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:121
Function
test_history_excludes_target_pending_writes
Target's own pending_writes are NOT included in the history.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:61
Function
test_history_migration_plain_value_as_seed
Pre-delta plain value in channel_values acts as seed (migration case). When a thread was originally using a regular channel (BinaryOperatorAggreg
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:150
Function
test_history_multi_channel
Multiple channels have independent walk termination.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:78
Function
test_history_returns_writes_oldest_first
Writes are returned oldest-to-newest.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:17
Function
test_history_seed_ancestor_own_writes_are_replayed
Writes stored AT the seed ancestor must be included in `writes`. A stored value is the state ENTERING its checkpoint; the writes stored under
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:202
Function
test_history_seed_is_nearest_snapshot
Seed is the value from the nearest ancestor with channel_values populated.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:35
Function
test_history_walk_to_root_no_seed
Walk reaches root without finding seed — no 'seed' key in result.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delta_channel_history.py:133
Function
test_http_client_stream_flushes_trailing_event
()
libs/sdk-py/tests/test_client_stream.py:117
Function
test_http_client_stream_recovers_after_disconnect
()
libs/sdk-py/tests/test_client_stream.py:224
Function
test_hydrating_unwritten_delta_channel_without_saver_is_empty
()
libs/langgraph/tests/test_delta_channel_subgraph.py:371
Function
test_hydrating_written_delta_channel_without_config_raises
()
libs/langgraph/tests/test_delta_channel_subgraph.py:362
Function
test_hydrating_written_delta_channel_without_saver_raises
()
libs/langgraph/tests/test_delta_channel_subgraph.py:348
Function
test_idle_timeout_guard_call_does_not_hold_scope_lock
()
libs/langgraph/tests/test_retry.py:745
Function
test_idle_timeout_guard_stream_does_not_hold_scope_lock
()
libs/langgraph/tests/test_retry.py:755
Function
test_idle_timeout_guard_stream_writer_does_not_hold_scope_lock
()
libs/langgraph/tests/test_retry.py:765
Function
test_idle_timeout_resets_on_message_stream_callbacks
()
libs/langgraph/tests/test_retry.py:1603
Method
test_ignores_non_messages_methods
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1071
Method
test_ignores_non_root_namespace
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:963
Method
test_ignores_non_root_namespace
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1054
Method
test_ignores_non_values_methods
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:975
Function
test_imp_exception
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:8723
Function
test_imp_exception
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel.py:8290
Function
test_imp_nested
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2343
Function
test_imp_nested
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:1332
Function
test_imp_stream_order
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2492
Function
test_imp_stream_order
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:1397
Function
test_imp_sync_from_async
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2458
Function
test_imp_task
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2288
Function
test_imp_task
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:1269
Function
test_imp_task_cancel
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:2407
Function
test_in_one_fan_out_out_one_graph_state
()
libs/langgraph/tests/test_large_cases.py:3915
Function
test_in_one_fan_out_out_one_graph_state
()
libs/langgraph/tests/test_large_cases_async.py:2473
Function
test_in_one_fan_out_state_graph_defer_node
( async_checkpointer: BaseCheckpointSaver, use_waiting_edge: bool )
libs/langgraph/tests/test_pregel_async.py:3975
Function
test_in_one_fan_out_state_graph_defer_node
( snapshot: SnapshotAssertion, sync_checkpointer: BaseCheckpointSaver, use_waiting_edge: bool, )
libs/langgraph/tests/test_pregel.py:2088
Function
test_in_one_fan_out_state_graph_waiting_edge
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:3888
Function
test_in_one_fan_out_state_graph_waiting_edge
( snapshot: SnapshotAssertion, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:1953
Function
test_in_one_fan_out_state_graph_waiting_edge_custom_state_class
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:4278
← previous
next →
5,201–5,300 of 7,100, ranked by callers