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_interruption_without_state_updates_async
Test interruption without state updates. This test confirms that interrupting doesn't require a state key having been updated in the prev step
libs/langgraph/tests/test_interruption.py:58
Function
test_interrupts_in_tasks_surfaced_once
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:7988
Function
test_interrupts_populated_from_input_requested_event
()
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:31
Method
test_interrupts_without_values_transformer
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1016
Method
test_invalid_chars_raises
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:106
Function
test_invalid_checkpointer_type
()
libs/langgraph/tests/test_pregel.py:162
Function
test_invalid_format
()
libs/langgraph/tests/test_messages_state.py:155
Method
test_invalid_maxlen_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1745
Function
test_invalid_tag_fails_before_any_control_plane_call
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:698
Function
test_invalid_template_id
Test that an invalid template ID passed via CLI results in a graceful error.
libs/cli/tests/unit_tests/cli/test_templates.py:59
Function
test_invoke
()
libs/langgraph/tests/test_remote_graph.py:822
Function
test_invoke_checkpoint
( mocker: MockerFixture, async_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel_async.py:1739
Function
test_invoke_checkpoint_three
( mocker: MockerFixture, async_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel_async.py:3625
Function
test_invoke_checkpoint_three
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:1435
Function
test_invoke_checkpoint_two
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:820
Function
test_invoke_context
Test that context is passed through to the SDK client in invoke.
libs/langgraph/tests/test_remote_graph.py:993
Method
test_invoke_emits_protocol_events
Iterating the stream yields the full v2 lifecycle, not v1 chunks.
libs/langgraph/tests/test_stream_messages_transformer.py:671
Function
test_invoke_join_then_call_other_pregel
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:1604
Function
test_invoke_many_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1631
Function
test_invoke_many_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:701
Method
test_invoke_plus_constructed_message_two_streams
Live-streamed node + constructed-message node → two ChatModelStreams.
libs/langgraph/tests/test_stream_messages_transformer.py:724
Method
test_invoke_populates_messages
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:663
Function
test_invoke_sanitizes_thread_id
()
libs/langgraph/tests/test_remote_graph.py:847
Function
test_invoke_single_process_in_dict_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1539
Function
test_invoke_single_process_in_dict_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:545
Function
test_invoke_single_process_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1445
Function
test_invoke_single_process_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:448
Function
test_invoke_single_process_in_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1514
Function
test_invoke_single_process_in_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:520
Function
test_invoke_single_process_in_write_kwargs
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1473
Function
test_invoke_single_process_in_write_kwargs
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:479
Method
test_invoke_text_deltas_iterate
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:693
Method
test_invoke_two_nodes_two_streams
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:700
Function
test_invoke_two_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1565
Function
test_invoke_two_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:570
Function
test_invoke_two_processes_in_out_interrupt
( sync_checkpointer: BaseCheckpointSaver, mocker: MockerFixture, )
libs/langgraph/tests/test_large_cases.py:67
Function
test_invoke_two_processes_in_out_interrupt
( async_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases_async.py:58
Function
test_invoke_two_processes_no_in
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1715
Function
test_invoke_two_processes_no_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3821
Function
test_invoke_two_processes_no_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1694
Function
test_invoke_two_processes_one_in_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3794
Function
test_invoke_two_processes_one_in_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1664
Function
test_invoke_two_processes_two_in_join_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3758
Function
test_invoke_two_processes_two_in_join_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1569
Function
test_invoke_two_processes_two_in_two_out_invalid
( mocker: MockerFixture, )
libs/langgraph/tests/test_pregel_async.py:1699
Function
test_invoke_two_processes_two_in_two_out_invalid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:767
Function
test_invoke_two_processes_two_in_two_out_valid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1719
Function
test_invoke_two_processes_two_in_two_out_valid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:800
Method
test_invoke_v1_pydantic_validation_error
Regression: invalid input to invoke without version raises ValidationError.
libs/langgraph/tests/test_stream_events_v3.py:1160
Method
test_invoke_v2_dataclass_state
invoke with v2 and dataclass state returns GraphOutput with dataclass value.
libs/langgraph/tests/test_stream_events_v3.py:455
Method
test_invoke_v2_graph_output_interrupt_compat
result['__interrupt__'] works via __getitem__.
libs/langgraph/tests/test_stream_events_v3.py:410
Method
test_invoke_v2_graph_output_no_interrupts
(self)
libs/langgraph/tests/test_stream_events_v3.py:430
Method
test_invoke_v2_graph_output_with_interrupts
(self)
libs/langgraph/tests/test_stream_events_v3.py:390
Method
test_invoke_v2_non_values_mode_pydantic
invoke with v2 + non-values mode + pydantic state returns list[StreamPart].
libs/langgraph/tests/test_stream_events_v3.py:474
Method
test_invoke_v2_pydantic_state
invoke with v2 and pydantic state returns GraphOutput with pydantic value.
libs/langgraph/tests/test_stream_events_v3.py:437
Method
test_invoke_v2_pydantic_validation_error
Invalid input to invoke with v2 + pydantic state raises ValidationError.
libs/langgraph/tests/test_stream_events_v3.py:1154
Function
test_invoke_with_all_valid_types
()
libs/langgraph/tests/test_type_checking.py:111
Function
test_is_async
()
libs/langgraph/tests/test_utils.py:49
Function
test_is_cloud_recognises_the_managed_control_plane
(control_plane_url, expected)
libs/cli/tests/unit_tests/test_host_backend.py:599
Function
test_is_field_channel
Test channel detection across all scenarios.
libs/langgraph/tests/test_state.py:346
Function
test_is_generator
()
libs/langgraph/tests/test_utils.py:83
Function
test_is_not_empty
()
libs/langgraph/tests/test_utils.py:298
Function
test_is_optional_type
()
libs/langgraph/tests/test_utils.py:159
Function
test_is_prefix_match_empty_prefix_matches_anything
()
libs/sdk-py/tests/streaming/test_subscription.py:47
Function
test_is_prefix_match_exact_literal_match
()
libs/sdk-py/tests/streaming/test_subscription.py:51
Function
test_is_prefix_match_keeps_colons_in_prefix_literal
()
libs/sdk-py/tests/streaming/test_subscription.py:59
Function
test_is_prefix_match_returns_false_when_prefix_longer
()
libs/sdk-py/tests/streaming/test_subscription.py:65
Function
test_is_prefix_match_strips_runtime_suffix_when_prefix_is_static
()
libs/sdk-py/tests/streaming/test_subscription.py:55
Function
test_is_required
()
libs/langgraph/tests/test_utils.py:203
Function
test_is_supported_by_pydantic
Test if types are supported by pydantic.
libs/langgraph/tests/test_pydantic.py:36
Function
test_iter_caches_first_subscription
()
libs/langgraph/tests/test_remote_graph_v3.py:206
Function
test_iterator_waits_for_new_items
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:31
Method
test_key_parsing_edge_cases
Test key parsing with edge cases.
libs/checkpoint/tests/test_redis_cache.py:286
Function
test_langgraph_cloud_integration
()
libs/langgraph/tests/test_remote_graph.py:1101
Method
test_langsmith_endpoint_from_project_env_selects_self_hosted_control_plane
( self, monkeypatch )
libs/cli/tests/unit_tests/test_deploy_helpers.py:554
Method
test_langsmith_tracing_project_name_only
Test that langsmith_tracing works with only project_name.
libs/sdk-py/tests/test_langsmith_tracing.py:122
Function
test_large_batches
(request: Any, store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:127
Function
test_large_batches_async
Test processing large batch operations asynchronously.
libs/checkpoint-sqlite/tests/test_async_store.py:98
Function
test_large_batches_async
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:176
Method
test_large_data_serialization
Test handling of large data objects.
libs/checkpoint/tests/test_redis_cache.py:305
Function
test_last_value
()
libs/langgraph/tests/test_channels.py:33
Function
test_late_subscriber_replays_from_index_zero
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:12
Function
test_latest_checkpoint_state_graph
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_checkpoint_migration.py:1512
Function
test_latest_checkpoint_state_graph_async
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_checkpoint_migration.py:1553
Function
test_lc2_json_legacy_construct_payload_logs_warning_when_default_init_rejects
Legacy `method=[None, "construct"]` envelopes whose kwargs the default `__init__` rejects now revive to `None` and emit an observable warning.
libs/checkpoint/tests/test_jsonplus.py:495
Function
test_lc2_json_legacy_pydantic_method_list_falls_back_to_default
Legacy ``method=(None, "construct")`` envelopes still revive via the default ctor. Pre-October-2025 langgraph emitted pydantic models with ``
libs/checkpoint/tests/test_jsonplus.py:471
Function
test_lc2_json_method_field_is_ignored
The `method` field on lc=2 envelopes is ignored. Regression test for GHSA-fjqc-hq36-qh5p: `_revive_lc2` previously resolved `getattr(cls, met
libs/checkpoint/tests/test_jsonplus.py:403
Function
test_lc2_json_method_field_is_ignored_for_allowlisted_types
The `method` field is ignored even when the class is explicitly allowlisted. A user who configures ``allowed_json_modules`` for a class no longer
libs/checkpoint/tests/test_jsonplus.py:433
Function
test_lc2_json_safe_type_init_still_works
SAFE-type lc=2 revival without a `method` field still constructs the class.
libs/checkpoint/tests/test_jsonplus.py:456
Function
test_lc2_json_safe_type_pickle_payload_does_not_execute
End-to-end: a `parse_raw` pickle gadget payload on a SAFE type must not run. With method dispatch removed from `_revive_lc2`, the gadget bytes ar
libs/checkpoint/tests/test_jsonplus.py:546
Function
test_lc2_json_safe_type_revives_without_allowlist
Old 'json' blobs with lc=2 for safe types must revive without an explicit allowlist. Regression test for: https://github.com/langchain-ai/langgra
libs/checkpoint/tests/test_jsonplus.py:339
Function
test_lc2_json_unknown_type_stays_blocked_without_allowlist
lc=2 JSON blobs for types NOT in SAFE_MSGPACK_TYPES still require an allowlist.
libs/checkpoint/tests/test_jsonplus.py:374
Method
test_leading_trailing_stripped
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:83
Method
test_legacy_v1_chunks_ignored
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:372
Function
test_len_reports_buffered_count
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:51
Function
test_lifecycle_async
(async_threads)
libs/sdk-py/tests/integration/test_lifecycle.py:12
Function
test_lifecycle_clean_eof_resolves_run_done_with_errored
If the lifecycle SSE stream ends cleanly (server closes without a terminal `completed` or `errored` event), `_run_done` must resolve with an e
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:154
Function
test_lifecycle_error_captured_for_output
Lifecycle error terminal state is captured in _run_done with error set.
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:118
Method
test_lifecycle_matches_subgraph_handles
Lifecycle events and subgraph handles agree on discovered subgraphs.
libs/langgraph/tests/test_stream_events_v3_e2e.py:752
Function
test_lifecycle_mid_iteration_error_resolves_run_done_with_error
If the transport reports an error via `handle.done` after iteration exits without a terminal lifecycle event, `_run_done` propagates the trans
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:177
← previous
next →
5,401–5,500 of 7,100, ranked by callers