MCPcopy Create free account

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

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

Functiontest_messages_decoder_dispatches_delta_to_active_stream
()
libs/sdk-py/tests/streaming/test_decoders.py:109
Functiontest_messages_decoder_drops_idful_events_for_unknown_stream
()
libs/sdk-py/tests/streaming/test_decoders.py:142
Functiontest_messages_decoder_drops_idless_delta_when_multiple_active
()
libs/sdk-py/tests/streaming/test_decoders.py:161
Functiontest_messages_decoder_error_retires_stream
()
libs/sdk-py/tests/streaming/test_decoders.py:127
Functiontest_messages_decoder_finish_retires_stream
()
libs/sdk-py/tests/streaming/test_decoders.py:117
Functiontest_messages_decoder_ignores_other_namespaces
()
libs/sdk-py/tests/streaming/test_decoders.py:149
Functiontest_messages_decoder_single_fallback_routes_idless_events
()
libs/sdk-py/tests/streaming/test_decoders.py:135
Functiontest_messages_decoder_yields_stream_on_message_start
()
libs/sdk-py/tests/streaming/test_decoders.py:95
Functiontest_messages_delta_reducer_coerces_state
State (left side) is coerced when raw — supports raw initial input and deserialized blobs. The steady-state path (state already typed) short-c
libs/langgraph/tests/test_channels.py:300
Functiontest_messages_delta_reducer_tuple_write_is_one_message
A top-level tuple write is one message-like, not a sequence to flatten. `("user", "hi")` is a valid `MessageLikeRepresentation`; flattening it
libs/langgraph/tests/test_channels.py:314
Functiontest_messages_error_event_fails_active_stream
()
libs/sdk-py/tests/streaming/test_messages_projection.py:126
Methodtest_messages_from_whole_ai_message
Node returning AIMessage directly produces a complete stream.
libs/langgraph/tests/test_stream_events_v3_e2e.py:361
Functiontest_messages_ignores_nested_namespace_for_root_projection
()
libs/sdk-py/tests/streaming/test_messages_projection.py:105
Functiontest_messages_multiple_messages_are_distinct_streams
()
libs/sdk-py/tests/streaming/test_messages_projection.py:78
Functiontest_messages_orphan_delta_without_matching_key_is_dropped
A delta whose message_id doesn't match any active stream must be dropped. The old code fell back to routing the event to the only active stream w
libs/sdk-py/tests/streaming/test_messages_projection.py:181
Methodtest_messages_projection_from_invoke
Messages projection captures LLM calls via model.invoke() auto-routing.
libs/langgraph/tests/test_stream_events_v3_e2e.py:331
Functiontest_messages_state
(state_schema)
libs/langgraph/tests/test_messages_state.py:193
Functiontest_messages_state_format_openai
()
libs/langgraph/tests/test_messages_state.py:216
Functiontest_messages_subscribes_to_messages_channel
()
libs/sdk-py/tests/streaming/test_messages_projection.py:24
Functiontest_messages_sync
(sync_threads)
libs/sdk-py/tests/integration/test_messages.py:27
Methodtest_messages_text_deltas
Text deltas from the messages projection concatenate correctly.
libs/langgraph/tests/test_stream_events_v3_e2e.py:342
Functiontest_messages_yields_async_chat_model_stream_and_text_deltas
()
libs/sdk-py/tests/streaming/test_messages_projection.py:39
Functiontest_metadata_empty_incoming_preserves_base_lc_versions
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:736
Methodtest_metadata_filter_keys_with_hyphens_and_digits
Metadata keys with hyphens and digit-start should be filterable. This exposes incorrect JSON path handling (unquoted segments) by asserting
libs/checkpoint-sqlite/tests/test_sqlite.py:274
Functiontest_metadata_lc_versions_accumulate_across_more_than_two_configs
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:746
Functiontest_metadata_lc_versions_later_values_win_without_recursive_merge
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:640
Functiontest_metadata_lc_versions_merge_does_not_mutate_inputs
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:695
Functiontest_metadata_nested_mappings_other_than_lc_versions_are_replaced
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:668
Functiontest_metadata_non_mapping_values_later_wins
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:684
Methodtest_metadata_predicate
(self)
libs/checkpoint-sqlite/tests/test_sqlite.py:142
Methodtest_metadata_predicate_sql_injection_prevention
Test that _metadata_predicate rejects malicious filter keys.
libs/checkpoint-sqlite/tests/test_sqlite.py:186
Functiontest_metadata_single_sided_mapping_values_are_copied
( merge: Callable[..., RunnableConfig], )
libs/langgraph/tests/test_utils.py:714
Functiontest_mid_stream_error_after_ready_surfaces_on_done
If the SSE response body iteration raises after headers/ready, the error must be exposed on handle.done so callers can distinguish a clean end
libs/sdk-py/tests/streaming/test_transport_http.py:214
Functiontest_migrate_checkpoints
(source: str, target: str)
libs/langgraph/tests/test_checkpoint_migration.py:1475
Functiontest_migration_continued_thread_folds_deltas_on_seed_sync
After migration, driving one more super-step extends the pre-migration accumulated state via the delta reducer — the seed plus a single new wr
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:128
Functiontest_migration_graph
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:8187
Functiontest_migration_preserves_pre_migration_state_async
Async equivalent of the basic-migration round-trip check on `AsyncSqliteSaver`.
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:152
Functiontest_migration_preserves_pre_migration_state_sync
Drive 3 invokes under `BinaryOperatorAggregate`, swap the annotation to `DeltaChannel` on the same sqlite-backed thread, and verify every sett
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:101
Methodtest_missing_docker_binary_raises_actionable_error
(self, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:146
Methodtest_missing_env_file_returns_none
(self, tmp_path)
libs/cli/tests/unit_tests/test_deploy_helpers.py:243
Functiontest_missing_ids
()
libs/langgraph/tests/test_messages_state.py:63
Methodtest_missing_image_raises_actionable_error
(self, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:155
Functiontest_mixed_operations
()
libs/langgraph/tests/test_messages_state.py:127
Methodtest_mixed_sync_and_async_transformers
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1597
Functiontest_model_with_tools
(tool_style: str, version: str, include_builtin: bool)
libs/prebuilt/tests/test_react_agent.py:298
Functiontest_modify_arguments
Test handler that modifies tool arguments before execution.
libs/prebuilt/tests/test_on_tool_call.py:126
Functiontest_msgpack_allowlist_blocks_non_listed
Allowlists should block unregistered types even if msgpack is enabled.
libs/checkpoint/tests/test_jsonplus.py:904
Functiontest_msgpack_allowlist_silences_warning
Types in allowed_msgpack_modules should deserialize without warnings.
libs/checkpoint/tests/test_jsonplus.py:869
Functiontest_msgpack_blocked_emits_event
()
libs/checkpoint/tests/test_jsonplus.py:924
Functiontest_msgpack_dataclass_allowlist
Dataclasses in allowlist should deserialize without warnings.
libs/checkpoint/tests/test_jsonplus.py:1156
Functiontest_msgpack_env_strict_default
Strict msgpack env should default to blocking unregistered types.
libs/checkpoint/tests/test_jsonplus.py:850
Functiontest_msgpack_method_pathlib_blocked_default_mode
( tmp_path: pathlib.Path, caplog: pytest.LogCaptureFixture )
libs/checkpoint/tests/test_jsonplus.py:1044
Functiontest_msgpack_method_pathlib_blocked_encrypted_strict
( tmp_path: pathlib.Path, caplog: pytest.LogCaptureFixture )
libs/checkpoint/tests/test_encrypted.py:77
Functiontest_msgpack_method_pathlib_blocked_in_strict
( tmp_path: pathlib.Path, caplog: pytest.LogCaptureFixture )
libs/checkpoint/tests/test_jsonplus.py:1020
Functiontest_msgpack_nested_pydantic_serializes_as_dict
Nested Pydantic models are serialized via model_dump() as dicts. This means nested models don't go through the ext hook and don't need to be
libs/checkpoint/tests/test_jsonplus.py:1210
Functiontest_msgpack_none_blocks_unregistered
allowed_msgpack_modules=None should block unregistered types.
libs/checkpoint/tests/test_jsonplus.py:889
Functiontest_msgpack_path_constructor_still_works
()
libs/checkpoint/tests/test_jsonplus.py:1080
Functiontest_msgpack_pydantic_v1_allowlist
Pydantic v1 models in allowlist should deserialize without warnings.
libs/checkpoint/tests/test_jsonplus.py:1135
Functiontest_msgpack_pydantic_warns_by_default
Pydantic models not in allowlist should log warning but still deserialize.
libs/checkpoint/tests/test_jsonplus.py:826
Functiontest_msgpack_regex_safe_type
re.compile patterns should deserialize without warnings as a safe type.
libs/checkpoint/tests/test_jsonplus.py:1004
Functiontest_msgpack_regex_still_works_strict
(caplog: pytest.LogCaptureFixture)
libs/checkpoint/tests/test_jsonplus.py:1068
Functiontest_msgpack_safe_types_no_warning
Test safe types deserialize without warnings.
libs/checkpoint/tests/test_jsonplus.py:789
Functiontest_msgpack_safe_types_value_equality
Verify safe types are correctly restored with proper values.
libs/checkpoint/tests/test_jsonplus.py:1177
Functiontest_msgpack_strict_allows_core_langchain_messages
( caplog: pytest.LogCaptureFixture, )
libs/checkpoint/tests/test_jsonplus.py:974
Functiontest_msgpack_strict_allows_langchain_document
( caplog: pytest.LogCaptureFixture, )
libs/checkpoint/tests/test_jsonplus.py:989
Functiontest_msgpack_strict_allows_safe_types
Safe types should still deserialize in strict mode without warnings.
libs/checkpoint/tests/test_jsonplus.py:958
Functiontest_msgpack_unregistered_allowed_emits_event
()
libs/checkpoint/tests/test_jsonplus.py:941
Functiontest_multi_resume
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:6195
Methodtest_multiple_custom_transformers
Multiple custom transformers can coexist.
libs/langgraph/tests/test_stream_events_v3_e2e.py:661
Functiontest_multiple_forks_from_same_checkpoint
Two independent forks from the same checkpoint create independent branches that don't affect each other.
libs/langgraph/tests/test_time_travel.py:182
Functiontest_multiple_forks_from_same_checkpoint
Two independent forks from the same checkpoint create independent branches that don't affect each other.
libs/langgraph/tests/test_time_travel_async.py:195
Functiontest_multiple_interrupt_state_persistence
Test that state is preserved correctly across multiple interrupts.
libs/langgraph/tests/test_pregel_async.py:6548
Functiontest_multiple_interrupt_state_persistence
Test that state is preserved correctly across multiple interrupts.
libs/langgraph/tests/test_pregel.py:5291
Functiontest_multiple_interrupts_functional
Test multiple interrupts with functional API.
libs/langgraph/tests/test_pregel_async.py:6754
Functiontest_multiple_interrupts_functional
Test multiple interrupts with functional API.
libs/langgraph/tests/test_pregel.py:5712
Functiontest_multiple_interrupts_functional_cache
Test multiple interrupts with functional API.
libs/langgraph/tests/test_pregel_async.py:6792
Functiontest_multiple_interrupts_functional_cache
Test multiple interrupts with functional API.
libs/langgraph/tests/test_pregel.py:5747
Functiontest_multiple_interrupts_in_one_node
A single node with two sequential interrupt() calls. Resuming resolves them one at a time. Replaying from before the node re-fires the first.
libs/langgraph/tests/test_time_travel.py:634
Functiontest_multiple_interrupts_in_one_node
A single node with two sequential interrupt() calls. Resuming resolves them one at a time. Replaying from before the node re-fires the first.
libs/langgraph/tests/test_time_travel_async.py:545
Methodtest_multiple_modes
(self)
libs/langgraph/tests/test_stream_events_v3.py:235
Methodtest_multiple_modes
(self)
libs/langgraph/tests/test_stream_events_v3.py:507
Methodtest_multiple_modes
(self)
libs/langgraph/tests/test_stream_events_v3.py:608
Methodtest_multiple_modes
(self)
libs/langgraph/tests/test_stream_events_v3.py:807
Functiontest_multiple_nodes_before_interrupt_resume_graph_api
Test that Command(resume=value) works correctly in a StateGraph when multiple nodes run before a node that calls interrupt(). This is the grap
libs/langgraph/tests/test_pregel_async.py:8232
Functiontest_multiple_nodes_before_interrupt_resume_graph_api
Test that Command(resume=value) works correctly in a StateGraph when multiple nodes run before a node that calls interrupt(). This is the grap
libs/langgraph/tests/test_pregel.py:6005
Functiontest_multiple_sinks_subgraphs
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_pregel.py:4231
Functiontest_multiple_subgraphs
(async_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel_async.py:7005
Functiontest_multiple_subgraphs
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:6436
Functiontest_multiple_subgraphs_checkpointer
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:7260
Functiontest_multiple_subgraphs_checkpointer
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel.py:6681
Functiontest_multiple_subgraphs_functional
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:7078
Functiontest_multiple_subgraphs_functional
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:6506
Functiontest_multiple_subgraphs_mixed_entrypoint
Test calling multiple StateGraph subgraphs from an entrypoint.
libs/langgraph/tests/test_pregel_async.py:7126
Functiontest_multiple_subgraphs_mixed_entrypoint
Test calling multiple StateGraph subgraphs from an entrypoint.
libs/langgraph/tests/test_pregel.py:6551
Functiontest_multiple_subgraphs_mixed_state_graph
Test calling multiple entrypoint "subgraphs" from a StateGraph.
libs/langgraph/tests/test_pregel_async.py:7189
Functiontest_multiple_subgraphs_mixed_state_graph
Test calling multiple entrypoint "subgraphs" from a StateGraph.
libs/langgraph/tests/test_pregel.py:6613
Functiontest_multiple_tasks_before_interrupt_resume
Test that Command(resume=value) works correctly when multiple @tasks run before an interrupt-producing task in an @entrypoint.
libs/langgraph/tests/test_pregel_async.py:8094
Functiontest_multiple_tasks_before_interrupt_resume
Test that Command(resume=value) works correctly when multiple @tasks run before an interrupt-producing task in an @entrypoint.
libs/langgraph/tests/test_pregel.py:5870
Functiontest_multiple_tool_calls_with_handler
Test handler with multiple tool calls in one message.
libs/prebuilt/tests/test_on_tool_call.py:287
Functiontest_multiple_updates
()
libs/langgraph/tests/test_pregel_async.py:6706
← previousnext →5,601–5,700 of 7,100, ranked by callers