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_tool_node_command_remove_all_messages
()
libs/prebuilt/tests/test_tool_node.py:1284
Function
test_tool_node_ensure_utf8
()
libs/prebuilt/tests/test_tool_node.py:1510
Function
test_tool_node_ensure_utf8
()
libs/prebuilt/tests/test_react_agent.py:924
Function
test_tool_node_error_handling
()
libs/prebuilt/tests/test_tool_node.py:322
Function
test_tool_node_error_handling_callable
()
libs/prebuilt/tests/test_tool_node.py:383
Function
test_tool_node_error_handling_default_exception
()
libs/prebuilt/tests/test_tool_node.py:300
Function
test_tool_node_error_handling_default_invocation
()
libs/prebuilt/tests/test_tool_node.py:272
Function
test_tool_node_handle_tool_errors_false
()
libs/prebuilt/tests/test_tool_node.py:475
Function
test_tool_node_incorrect_tool_name
()
libs/prebuilt/tests/test_tool_node.py:568
Function
test_tool_node_individual_tool_error_handling
()
libs/prebuilt/tests/test_tool_node.py:539
Function
test_tool_node_inject_async_all_types_signature_only
Test all injection types without @tool decorator.
libs/prebuilt/tests/test_tool_node.py:1680
Function
test_tool_node_inject_async_all_types_with_decorator
Test all injection types with @tool decorator.
libs/prebuilt/tests/test_tool_node.py:1739
Function
test_tool_node_inject_async_all_types_with_schema
Test all injection types with explicit schema.
libs/prebuilt/tests/test_tool_node.py:1799
Function
test_tool_node_inject_runtime_dynamic_tool_via_wrap_tool_call
Test that ToolRuntime is injected for dynamically registered tools. Regression test for https://github.com/langchain-ai/langchain/issues/35305.
libs/prebuilt/tests/test_tool_node.py:1909
Function
test_tool_node_inject_runtime_dynamic_tool_via_wrap_tool_call_async
Test that ToolRuntime is injected for dynamically registered tools (async). Async version of the regression test for https://github.com/langc
libs/prebuilt/tests/test_tool_node.py:1963
Function
test_tool_node_inject_state
(schema_: type[T])
libs/prebuilt/tests/test_tool_node.py:1343
Function
test_tool_node_inject_state
(schema_: type[T])
libs/prebuilt/tests/test_react_agent.py:718
Function
test_tool_node_inject_store
()
libs/prebuilt/tests/test_tool_node.py:1432
Function
test_tool_node_inject_store
()
libs/prebuilt/tests/test_react_agent.py:846
Function
test_tool_node_injected_state_overwrites_llm_value
InjectedState should use graph state, not LLM-supplied values.
libs/prebuilt/tests/test_tool_node.py:2202
Function
test_tool_node_list_return_async_smoke
Async path parallels sync for the happy case.
libs/prebuilt/tests/test_tool_node.py:2366
Function
test_tool_node_list_return_command_and_tool_message
Valid: tool returns [Command(update={...}), ToolMessage(...)].
libs/prebuilt/tests/test_tool_node.py:2269
Function
test_tool_node_list_return_mixed_with_regular_tool
List-returning tool and a regular tool dispatched from the same AIMessage.
libs/prebuilt/tests/test_tool_node.py:2388
Function
test_tool_node_list_return_multiple_terminators_raises
Invalid: list with two terminating ToolMessages.
libs/prebuilt/tests/test_tool_node.py:2343
Function
test_tool_node_list_return_nested_terminator
Valid: terminator nested inside Command.update['messages'].
libs/prebuilt/tests/test_tool_node.py:2292
Function
test_tool_node_list_return_no_terminator_raises
Invalid: list with no terminating ToolMessage.
libs/prebuilt/tests/test_tool_node.py:2337
Function
test_tool_node_list_return_parent_goto_with_terminator
Valid: [Command(graph=PARENT, goto=[Send(...)]), ToolMessage(...)].
libs/prebuilt/tests/test_tool_node.py:2317
Function
test_tool_node_list_return_validation_error_handled
handle_tool_errors=True converts validation errors to an error ToolMessage.
libs/prebuilt/tests/test_tool_node.py:2356
Function
test_tool_node_messages_key
()
libs/prebuilt/tests/test_tool_node.py:1526
Function
test_tool_node_messages_key
()
libs/prebuilt/tests/test_react_agent.py:940
Function
test_tool_node_node_interrupt
()
libs/prebuilt/tests/test_tool_node.py:597
Function
test_tool_node_node_interrupt
( sync_checkpointer: BaseCheckpointSaver, version: str )
libs/prebuilt/tests/test_react_agent.py:1421
Function
test_tool_node_parent_command_with_send
()
libs/prebuilt/tests/test_tool_node.py:1197
Function
test_tool_node_stream_writer
()
libs/prebuilt/tests/test_tool_node.py:1567
Function
test_tool_node_stream_writer
()
libs/prebuilt/tests/test_react_agent.py:1182
Function
test_tool_node_strips_custom_injected_tool_arg_subclass
Custom InjectedToolArg subclasses should also be stripped.
libs/prebuilt/tests/test_tool_node.py:2172
Function
test_tool_node_strips_plain_injected_tool_arg
Plain InjectedToolArg values supplied by the LLM should be stripped.
libs/prebuilt/tests/test_tool_node.py:2143
Function
test_tool_node_tool_call_input
()
libs/prebuilt/tests/test_tool_node.py:225
Function
test_tool_node_tool_runtime_generic
Test that ToolRuntime with generic type arguments is correctly injected.
libs/prebuilt/tests/test_tool_node.py:1867
Function
test_tool_returning_command_sent_to_handler
Test that when tool returns Command, it's sent to handler.
libs/prebuilt/tests/test_on_tool_call.py:1077
Method
test_tool_role_protocol_events_are_ignored
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:220
Function
test_tool_runtime_defaults_tools_to_empty_list
()
libs/prebuilt/tests/test_tool_node.py:2015
Function
test_tool_runtime_forwards_execution_info_server_info_and_tools
Test that execution_info, server_info, and tools are forwarded from Runtime to ToolRuntime.
libs/prebuilt/tests/test_tool_node.py:2028
Function
test_tool_runtime_forwards_execution_info_server_info_and_tools_async
Test that execution_info, server_info, and tools are forwarded in async path.
libs/prebuilt/tests/test_tool_node.py:2082
Method
test_tool_started_yields_handle
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:93
Function
test_tools_async
(async_threads)
libs/sdk-py/tests/integration/test_tools.py:12
Method
test_tools_event_passes_through_main_log
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:192
Function
test_tools_sync
(sync_threads)
libs/sdk-py/tests/integration/test_tools.py:36
Function
test_top_level_help_shows_deploy_subcommands
()
libs/cli/tests/unit_tests/cli/test_cli.py:292
Function
test_top_level_help_truncates_command_descriptions_to_single_line
()
libs/cli/tests/unit_tests/cli/test_cli.py:306
Function
test_topic
()
libs/langgraph/tests/test_channels.py:52
Function
test_topic_accumulate
()
libs/langgraph/tests/test_channels.py:76
Function
test_trace_policy_none_records_real_payloads
()
libs/langgraph/tests/test_trace_policy.py:79
Function
test_trace_policy_processor_error_does_not_break_execution
()
libs/langgraph/tests/test_trace_policy.py:112
Function
test_trace_policy_processor_error_safe_without_callbacks
()
libs/langgraph/tests/test_trace_policy.py:96
Function
test_trace_policy_transforms_recorded_inputs
()
libs/langgraph/tests/test_trace_policy.py:25
Function
test_trace_policy_transforms_recorded_inputs_async
()
libs/langgraph/tests/test_trace_policy.py:131
Function
test_trace_policy_transforms_recorded_outputs
()
libs/langgraph/tests/test_trace_policy.py:52
Method
test_tracks_interrupts
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:984
Method
test_transformer_without_finalize_works
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1383
Function
test_translate_command_input_passes_through_non_command
()
libs/langgraph/tests/test_remote_graph_v3.py:492
Function
test_translate_command_input_rejects_goto_and_update
()
libs/langgraph/tests/test_remote_graph_v3.py:485
Function
test_translate_command_input_surfaces_raw_resume_value
()
libs/langgraph/tests/test_remote_graph_v3.py:478
Function
test_transport_accepts_max_queue_size_kwarg
()
libs/sdk-py/tests/streaming/test_transport_http.py:166
Function
test_transport_close_cancels_open_event_streams
()
libs/sdk-py/tests/streaming/test_transport_http.py:395
Function
test_transport_default_max_queue_size_is_1024
()
libs/sdk-py/tests/streaming/test_transport_http.py:176
Function
test_transport_drop_exception_logged_with_type
Bare `pass` discarded exception types; the drop should at least log.
libs/sdk-py/tests/streaming/test_controller.py:265
Function
test_traversal_dep_path_is_skipped
(tmp_path: pathlib.Path)
libs/cli/tests/unit_tests/test_dependency_tracking.py:84
Function
test_ttl_basic
Test basic TTL functionality with synchronous API.
libs/checkpoint-sqlite/tests/test_ttl.py:25
Method
test_ttl_behavior
Test TTL (time-to-live) functionality.
libs/checkpoint/tests/test_redis_cache.py:72
Function
test_ttl_custom_value
Test TTL with custom value per item.
libs/checkpoint-sqlite/tests/test_ttl.py:129
Function
test_ttl_override_default
Test overriding default TTL at the item level.
libs/checkpoint-sqlite/tests/test_ttl.py:158
Function
test_ttl_refresh
Test TTL refresh on read.
libs/checkpoint-sqlite/tests/test_ttl.py:50
Function
test_ttl_sweeper
Test TTL sweeper thread.
libs/checkpoint-sqlite/tests/test_ttl.py:92
Function
test_tuple_str
()
libs/langgraph/tests/test_algo.py:47
Function
test_turns_addressed_at_the_head_store_no_snapshot
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_fork.py:946
Function
test_two_concurrent_subscribes_share_one_stream
()
libs/sdk-py/tests/streaming/test_shared_stream.py:116
Function
test_two_iterators_each_get_full_log
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:21
Method
test_two_sibling_subgraphs_both_discoverable
Two sequential subgraph invocations produce two handles.
libs/langgraph/tests/test_stream_events_v3_e2e.py:699
Function
test_typed_dict_state
()
libs/langgraph/tests/test_type_checking.py:14
Function
test_unaddressed_bulk_update_keeps_snapshot_cadence
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_delta_channel_fork.py:533
Function
test_unaddressed_run_keeps_snapshot_cadence
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_delta_channel_fork.py:410
Method
test_unbound_iter_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:244
Function
test_undeclared_native_projection_is_attached
A native projection this module doesn't declare still works at runtime. `__getattr__` is a type-checker fallback only — it must not shadow the
libs/langgraph/tests/test_stream_events_v3.py:1266
Method
test_underscores_replaced_with_hyphens
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:80
Method
test_unknown_projection_raises
(self)
libs/langgraph/tests/test_interleave_arrival_order.py:228
Function
test_unregister_subscription_removes_from_registry
()
libs/sdk-py/tests/streaming/test_thread_stream.py:510
Function
test_unregistered_projection_raises_attribute_error
An unregistered projection name still fails at runtime. The `__getattr__` fallback exists to satisfy type checkers; it must not make unknown
libs/langgraph/tests/test_stream_events_v3.py:1283
Function
test_unregistered_tool_error_when_interceptor_calls_execute
Test that unregistered tools error if interceptor tries to execute them.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:172
Function
test_unrelated_events_ignored_by_all
Non-matching method events don't land in any transformer's log.
libs/langgraph/tests/test_stream_data_transformers.py:456
Function
test_unrelated_methods_pass_through
Non-`tasks` events are not consumed and don't emit lifecycle.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:274
Method
test_unsubscribed_projections_never_accumulate
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1689
Function
test_untracked_value
()
libs/langgraph/tests/test_channels.py:110
Function
test_update_as_input
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:8470
Function
test_update_as_input
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:8016
Function
test_update_deployment_forwards_tracked_packages
()
libs/cli/tests/unit_tests/test_host_backend.py:93
Function
test_update_deployment_internal_source_forwards_tracked_packages
()
libs/cli/tests/unit_tests/test_host_backend.py:115
Function
test_update_deployment_internal_source_omits_tracked_packages_when_absent
()
libs/cli/tests/unit_tests/test_host_backend.py:130
Function
test_update_deployment_omits_tracked_packages_when_absent
()
libs/cli/tests/unit_tests/test_host_backend.py:107
Function
test_update_existing_message
()
libs/langgraph/tests/test_messages_state.py:55
← previous
next →
6,701–6,800 of 7,100, ranked by callers