MCPcopy Create free account

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

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

Functiontest_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
Functiontest_interrupts_in_tasks_surfaced_once
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:7988
Functiontest_interrupts_populated_from_input_requested_event
()
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:31
Methodtest_interrupts_without_values_transformer
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1016
Methodtest_invalid_chars_raises
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:106
Functiontest_invalid_checkpointer_type
()
libs/langgraph/tests/test_pregel.py:162
Functiontest_invalid_format
()
libs/langgraph/tests/test_messages_state.py:155
Methodtest_invalid_maxlen_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1745
Functiontest_invalid_tag_fails_before_any_control_plane_call
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:698
Functiontest_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
Functiontest_invoke
()
libs/langgraph/tests/test_remote_graph.py:822
Functiontest_invoke_checkpoint
( mocker: MockerFixture, async_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel_async.py:1739
Functiontest_invoke_checkpoint_three
( mocker: MockerFixture, async_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel_async.py:3625
Functiontest_invoke_checkpoint_three
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:1435
Functiontest_invoke_checkpoint_two
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:820
Functiontest_invoke_context
Test that context is passed through to the SDK client in invoke.
libs/langgraph/tests/test_remote_graph.py:993
Methodtest_invoke_emits_protocol_events
Iterating the stream yields the full v2 lifecycle, not v1 chunks.
libs/langgraph/tests/test_stream_messages_transformer.py:671
Functiontest_invoke_join_then_call_other_pregel
( mocker: MockerFixture, sync_checkpointer: BaseCheckpointSaver )
libs/langgraph/tests/test_pregel.py:1604
Functiontest_invoke_many_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1631
Functiontest_invoke_many_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:701
Methodtest_invoke_plus_constructed_message_two_streams
Live-streamed node + constructed-message node → two ChatModelStreams.
libs/langgraph/tests/test_stream_messages_transformer.py:724
Methodtest_invoke_populates_messages
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:663
Functiontest_invoke_sanitizes_thread_id
()
libs/langgraph/tests/test_remote_graph.py:847
Functiontest_invoke_single_process_in_dict_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1539
Functiontest_invoke_single_process_in_dict_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:545
Functiontest_invoke_single_process_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1445
Functiontest_invoke_single_process_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:448
Functiontest_invoke_single_process_in_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1514
Functiontest_invoke_single_process_in_out_dict
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:520
Functiontest_invoke_single_process_in_write_kwargs
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1473
Functiontest_invoke_single_process_in_write_kwargs
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:479
Methodtest_invoke_text_deltas_iterate
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:693
Methodtest_invoke_two_nodes_two_streams
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:700
Functiontest_invoke_two_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1565
Functiontest_invoke_two_processes_in_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:570
Functiontest_invoke_two_processes_in_out_interrupt
( sync_checkpointer: BaseCheckpointSaver, mocker: MockerFixture, )
libs/langgraph/tests/test_large_cases.py:67
Functiontest_invoke_two_processes_in_out_interrupt
( async_checkpointer: BaseCheckpointSaver, mocker: MockerFixture )
libs/langgraph/tests/test_large_cases_async.py:58
Functiontest_invoke_two_processes_no_in
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1715
Functiontest_invoke_two_processes_no_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3821
Functiontest_invoke_two_processes_no_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1694
Functiontest_invoke_two_processes_one_in_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3794
Functiontest_invoke_two_processes_one_in_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1664
Functiontest_invoke_two_processes_two_in_join_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:3758
Functiontest_invoke_two_processes_two_in_join_two_out
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:1569
Functiontest_invoke_two_processes_two_in_two_out_invalid
( mocker: MockerFixture, )
libs/langgraph/tests/test_pregel_async.py:1699
Functiontest_invoke_two_processes_two_in_two_out_invalid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:767
Functiontest_invoke_two_processes_two_in_two_out_valid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel_async.py:1719
Functiontest_invoke_two_processes_two_in_two_out_valid
(mocker: MockerFixture)
libs/langgraph/tests/test_pregel.py:800
Methodtest_invoke_v1_pydantic_validation_error
Regression: invalid input to invoke without version raises ValidationError.
libs/langgraph/tests/test_stream_events_v3.py:1160
Methodtest_invoke_v2_dataclass_state
invoke with v2 and dataclass state returns GraphOutput with dataclass value.
libs/langgraph/tests/test_stream_events_v3.py:455
Methodtest_invoke_v2_graph_output_interrupt_compat
result['__interrupt__'] works via __getitem__.
libs/langgraph/tests/test_stream_events_v3.py:410
Methodtest_invoke_v2_graph_output_no_interrupts
(self)
libs/langgraph/tests/test_stream_events_v3.py:430
Methodtest_invoke_v2_graph_output_with_interrupts
(self)
libs/langgraph/tests/test_stream_events_v3.py:390
Methodtest_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
Methodtest_invoke_v2_pydantic_state
invoke with v2 and pydantic state returns GraphOutput with pydantic value.
libs/langgraph/tests/test_stream_events_v3.py:437
Methodtest_invoke_v2_pydantic_validation_error
Invalid input to invoke with v2 + pydantic state raises ValidationError.
libs/langgraph/tests/test_stream_events_v3.py:1154
Functiontest_invoke_with_all_valid_types
()
libs/langgraph/tests/test_type_checking.py:111
Functiontest_is_async
()
libs/langgraph/tests/test_utils.py:49
Functiontest_is_cloud_recognises_the_managed_control_plane
(control_plane_url, expected)
libs/cli/tests/unit_tests/test_host_backend.py:599
Functiontest_is_field_channel
Test channel detection across all scenarios.
libs/langgraph/tests/test_state.py:346
Functiontest_is_generator
()
libs/langgraph/tests/test_utils.py:83
Functiontest_is_not_empty
()
libs/langgraph/tests/test_utils.py:298
Functiontest_is_optional_type
()
libs/langgraph/tests/test_utils.py:159
Functiontest_is_prefix_match_empty_prefix_matches_anything
()
libs/sdk-py/tests/streaming/test_subscription.py:47
Functiontest_is_prefix_match_exact_literal_match
()
libs/sdk-py/tests/streaming/test_subscription.py:51
Functiontest_is_prefix_match_keeps_colons_in_prefix_literal
()
libs/sdk-py/tests/streaming/test_subscription.py:59
Functiontest_is_prefix_match_returns_false_when_prefix_longer
()
libs/sdk-py/tests/streaming/test_subscription.py:65
Functiontest_is_prefix_match_strips_runtime_suffix_when_prefix_is_static
()
libs/sdk-py/tests/streaming/test_subscription.py:55
Functiontest_is_required
()
libs/langgraph/tests/test_utils.py:203
Functiontest_is_supported_by_pydantic
Test if types are supported by pydantic.
libs/langgraph/tests/test_pydantic.py:36
Functiontest_iter_caches_first_subscription
()
libs/langgraph/tests/test_remote_graph_v3.py:206
Functiontest_iterator_waits_for_new_items
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:31
Methodtest_key_parsing_edge_cases
Test key parsing with edge cases.
libs/checkpoint/tests/test_redis_cache.py:286
Functiontest_langgraph_cloud_integration
()
libs/langgraph/tests/test_remote_graph.py:1101
Methodtest_langsmith_endpoint_from_project_env_selects_self_hosted_control_plane
( self, monkeypatch )
libs/cli/tests/unit_tests/test_deploy_helpers.py:554
Methodtest_langsmith_tracing_project_name_only
Test that langsmith_tracing works with only project_name.
libs/sdk-py/tests/test_langsmith_tracing.py:122
Functiontest_large_batches
(request: Any, store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:127
Functiontest_large_batches_async
Test processing large batch operations asynchronously.
libs/checkpoint-sqlite/tests/test_async_store.py:98
Functiontest_large_batches_async
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:176
Methodtest_large_data_serialization
Test handling of large data objects.
libs/checkpoint/tests/test_redis_cache.py:305
Functiontest_last_value
()
libs/langgraph/tests/test_channels.py:33
Functiontest_late_subscriber_replays_from_index_zero
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:12
Functiontest_latest_checkpoint_state_graph
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_checkpoint_migration.py:1512
Functiontest_latest_checkpoint_state_graph_async
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_checkpoint_migration.py:1553
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_leading_trailing_stripped
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:83
Methodtest_legacy_v1_chunks_ignored
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:372
Functiontest_len_reports_buffered_count
()
libs/sdk-py/tests/streaming/test_multi_cursor_buffer.py:51
Functiontest_lifecycle_async
(async_threads)
libs/sdk-py/tests/integration/test_lifecycle.py:12
Functiontest_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
Functiontest_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
Methodtest_lifecycle_matches_subgraph_handles
Lifecycle events and subgraph handles agree on discovered subgraphs.
libs/langgraph/tests/test_stream_events_v3_e2e.py:752
Functiontest_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
← previousnext →5,401–5,500 of 7,100, ranked by callers