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_copy_fork_retriggers_interrupt
Fork using __copy__ (no state changes) from checkpoint before interrupt. The interrupt is re-triggered because __copy__ creates a new checkpoint
libs/langgraph/tests/test_time_travel.py:2530
Function
test_copy_fork_retriggers_interrupt
Fork using __copy__ (no state changes) from checkpoint before interrupt. The interrupt is re-triggered because __copy__ creates a new checkpoint
libs/langgraph/tests/test_time_travel_async.py:1999
Function
test_copy_thread_all_checkpoints
All checkpoints copied, not just latest.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:58
Function
test_copy_thread_basic
Checkpoints appear on target thread.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:45
Function
test_copy_thread_nonexistent_source
Graceful handling of non-existent source thread.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:196
Function
test_copy_thread_preserves_metadata
Metadata intact on copied checkpoints.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:85
Function
test_copy_thread_preserves_namespaces
Root + child namespaces copied.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:113
Function
test_copy_thread_preserves_ordering
Checkpoint order maintained.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:155
Function
test_copy_thread_preserves_writes
Pending writes copied.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:131
Function
test_copy_thread_source_unchanged
Source thread still intact after copy.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_copy_thread.py:176
Method
test_corrupted_data_handling
Test handling of corrupted data in Redis.
libs/checkpoint/tests/test_redis_cache.py:268
Function
test_counter_reset_after_supersteps_snapshot
After the supersteps bound triggers a snapshot, the counters for that channel reset. Verify by using a bound higher than one run's supersteps
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:286
Function
test_create_new_with_mocked_download
Test the 'new' CLI command with a mocked download response using urllib.
libs/cli/tests/unit_tests/cli/test_templates.py:21
Function
test_create_react_agent_inject_vars
Test that the agent can inject state and store into tool functions.
libs/prebuilt/tests/test_react_agent.py:793
Function
test_create_react_agent_inject_vars_with_post_model_hook
( state_schema: StateSchemaType, )
libs/prebuilt/tests/test_react_agent.py:2101
Function
test_create_react_agent_injected_state_not_required_field_missing
Test create_react_agent with InjectedState using NotRequired field that is missing. This verifies the fix for https://github.com/langchain-ai/lan
libs/prebuilt/tests/test_injected_state_not_required.py:154
Function
test_create_react_agent_injected_state_not_required_field_present
Test create_react_agent with InjectedState using NotRequired field that IS present.
libs/prebuilt/tests/test_injected_state_not_required.py:188
Method
test_create_without_langsmith_tracing_excludes_key
Test that langsmith_tracer is not in payload when not provided.
libs/sdk-py/tests/test_langsmith_tracing.py:102
Method
test_created_streams_have_request_more
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:460
Method
test_creates_config_json
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:46
Function
test_crons_create_search_delete_async
(async_threads)
libs/sdk-py/tests/integration/test_crons.py:38
Function
test_crons_create_search_delete_sync
(sync_threads)
libs/sdk-py/tests/integration/test_crons.py:55
Method
test_crons_delete_with_pivot_payload_stays_on_crons
(self)
libs/sdk-py/tests/test_path_encoding.py:215
Method
test_crons_delete_with_pivot_payload_stays_on_crons
(self)
libs/sdk-py/tests/test_path_encoding.py:414
Function
test_curated_core_allowlist_includes_messages
()
libs/langgraph/tests/test_serde_allowlist.py:80
Method
test_custom
(self)
libs/langgraph/tests/test_stream_events_v3.py:225
Method
test_custom
(self)
libs/langgraph/tests/test_stream_events_v3.py:592
Function
test_custom_captures_root_scope_events
()
libs/langgraph/tests/test_stream_data_transformers.py:96
Method
test_custom_channel_events_on_main_log
StreamChannel auto-forward injects custom:<name> events into the main log.
libs/langgraph/tests/test_stream_events_v3_e2e.py:450
Function
test_custom_does_not_suppress_from_main_log
()
libs/langgraph/tests/test_stream_data_transformers.py:143
Method
test_custom_events_suppressed_without_transformer
Without a transformer declaring `"custom"`, no custom events flow. `stream_events(version="v3")` asks the graph only for the modes that regis
libs/langgraph/tests/test_pregel_stream_events_v3.py:455
Method
test_custom_events_suppressed_without_transformer
Without a custom-mode transformer, custom events don't flow.
libs/langgraph/tests/test_stream_events_v3_e2e.py:425
Method
test_custom_events_with_passthrough_transformer
Custom StreamWriter events appear on the main log when a transformer declares the custom mode.
libs/langgraph/tests/test_stream_events_v3_e2e.py:410
Function
test_custom_ignores_other_methods
()
libs/langgraph/tests/test_stream_data_transformers.py:154
Function
test_custom_ignores_subgraph_scope_events
()
libs/langgraph/tests/test_stream_data_transformers.py:108
Function
test_custom_init_returns_correct_key
()
libs/langgraph/tests/test_stream_data_transformers.py:177
Function
test_custom_is_native
()
libs/langgraph/tests/test_stream_data_transformers.py:173
Function
test_custom_preserves_any_payload_type
()
libs/langgraph/tests/test_stream_data_transformers.py:131
Function
test_custom_required_stream_modes
()
libs/langgraph/tests/test_stream_data_transformers.py:169
Function
test_custom_scoped_transformer_captures_own_scope
()
libs/langgraph/tests/test_stream_data_transformers.py:118
Method
test_custom_stream_events
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:444
Method
test_custom_stream_events
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:777
Method
test_custom_transformer_with_stream_channel
A custom transformer with a StreamChannel produces extension data.
libs/langgraph/tests/test_stream_events_v3_e2e.py:433
Function
test_data
Fixture providing test data for checkpoint tests.
libs/checkpoint-postgres/tests/test_sync.py:141
Function
test_data
Fixture providing test data for checkpoint tests.
libs/checkpoint-postgres/tests/test_async.py:159
Function
test_data_decoder_handles_updates_checkpoints_tasks_methods
()
libs/sdk-py/tests/streaming/test_decoders.py:52
Function
test_data_decoder_ignores_other_methods
()
libs/sdk-py/tests/streaming/test_decoders.py:46
Function
test_data_decoder_namespace_filter_drops_non_matching_namespace
()
libs/sdk-py/tests/streaming/test_decoders.py:71
Function
test_data_decoder_namespace_none_yields_regardless_of_namespace
()
libs/sdk-py/tests/streaming/test_decoders.py:64
Function
test_data_decoder_yields_params_data
()
libs/sdk-py/tests/streaming/test_decoders.py:40
Function
test_dataclass_like
()
libs/sdk-py/tests/test_serde_schema.py:29
Function
test_dataclass_state
()
libs/langgraph/tests/test_type_checking.py:38
Method
test_debug
(self)
libs/langgraph/tests/test_stream_events_v3.py:333
Method
test_debug
(self)
libs/langgraph/tests/test_stream_events_v3.py:688
Function
test_debug_captures_multiple_event_types
()
libs/langgraph/tests/test_stream_data_transformers.py:273
Function
test_debug_captures_root_scope_events
()
libs/langgraph/tests/test_stream_data_transformers.py:246
Function
test_debug_does_not_suppress_from_main_log
()
libs/langgraph/tests/test_stream_data_transformers.py:287
Function
test_debug_ignores_subgraph_events
()
libs/langgraph/tests/test_stream_data_transformers.py:263
Function
test_debug_is_native
()
libs/langgraph/tests/test_stream_data_transformers.py:302
Function
test_debug_nested_subgraphs
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:5949
Function
test_debug_nested_subgraphs
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:4485
Method
test_debug_pydantic_state
v2 debug + pydantic state -> inner checkpoint payload has coerced values (at least for checkpoints emitted after all channels are populated).
libs/langgraph/tests/test_stream_events_v3.py:998
Function
test_debug_required_stream_modes
()
libs/langgraph/tests/test_stream_data_transformers.py:298
Function
test_debug_retry
(async_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel_async.py:5812
Function
test_debug_retry
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:4349
Function
test_debug_subgraphs
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:5878
Function
test_debug_subgraphs
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:4413
Function
test_decode_frame_invalid_json_surfaces_error_on_done
A WS frame with invalid JSON resolves `done` with a RuntimeError.
libs/sdk-py/tests/streaming/test_transport_ws.py:195
Function
test_decode_frame_non_dict_surfaces_error_on_done
A WS frame that is valid JSON but not an object resolves `done` with RuntimeError.
libs/sdk-py/tests/streaming/test_transport_ws.py:220
Function
test_decrypt_decorators_preserve_return_types
()
libs/sdk-py/tests/test_encryption.py:17
Function
test_decrypt_result
()
libs/sdk-py/tests/test_encryption.py:9
Function
test_default_base_image_combined_mode
Test default_base_image returns langgraph-api for combined_queue_worker mode.
libs/cli/tests/unit_tests/test_config.py:3443
Function
test_default_base_image_distributed_mode
Test default_base_image returns langgraph-executor for distributed mode.
libs/cli/tests/unit_tests/test_config.py:3458
Function
test_default_base_image_distributed_with_explicit_base
Test default_base_image returns explicit base_image even in distributed mode.
libs/cli/tests/unit_tests/test_config.py:3472
Function
test_default_base_image_nodejs
Test default_base_image returns langgraphjs-api for Node.js config.
libs/cli/tests/unit_tests/test_config.py:3487
Method
test_default_env_is_cwd_dotenv
(self, tmp_path, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:248
Function
test_default_headers_cannot_override_sse_fixed_headers
Caller-supplied default headers must not override content-type or accept.
libs/sdk-py/tests/streaming/test_transport_http.py:453
Function
test_default_headers_forwarded_to_open_event_stream
Headers passed at construction are sent on every SSE stream request.
libs/sdk-py/tests/streaming/test_transport_http.py:432
Function
test_default_headers_forwarded_to_send_command
Headers passed at construction are sent on every command request.
libs/sdk-py/tests/streaming/test_transport_http.py:415
Function
test_default_is_false
`StreamTransformer.before_builtins` defaults to False.
libs/langgraph/tests/test_stream_before_builtins.py:222
Function
test_delete_all
()
libs/langgraph/tests/test_messages_state.py:171
Function
test_delete_for_runs_across_namespaces
All namespaces cleaned.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:158
Function
test_delete_for_runs_empty_list_noop
Empty list no error.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:144
Function
test_delete_for_runs_multiple
List of run_ids removed.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:64
Function
test_delete_for_runs_nonexistent_noop
Missing run_ids no error.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:151
Function
test_delete_for_runs_preserves_other_runs
Unrelated runs untouched.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:93
Function
test_delete_for_runs_removes_writes
Associated writes cleaned up.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:121
Function
test_delete_for_runs_single
One run_id removed.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:37
Function
test_delete_thread_nonexistent_noop
No error for missing thread.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_thread.py:110
Function
test_delete_thread_preserves_other_threads
Other threads untouched.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_thread.py:93
Function
test_delete_thread_removes_all_namespaces
Root + child namespaces both removed.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_thread.py:70
Function
test_delete_thread_removes_checkpoints
All checkpoints gone after delete.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_thread.py:18
Function
test_delete_thread_removes_writes
Pending writes gone after delete.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_thread.py:49
Method
test_delta_accumulates_on_active_stream
(self)
libs/prebuilt/tests/test_tool_call_transformer.py:112
Function
test_delta_and_migrated_threads_do_not_cross_contaminate
Two threads sharing a checkpointer — one migrated from pre-migration state, one freshly-started under DeltaChannel — must maintain independent
libs/langgraph/tests/test_delta_channel_migration.py:328
Function
test_delta_channel_async_write_ordering
In async mode, DeltaChannel write futures are awaited before the checkpoint is committed, so aput_writes always precedes aput for delta-channel
libs/langgraph/tests/test_pregel.py:9788
Function
test_delta_channel_basic_two_steps
()
libs/langgraph/tests/test_channels.py:139
Function
test_delta_channel_benchmark
Manual benchmark — see module docstring.
libs/langgraph/tests/test_delta_channel_benchmark.py:306
Function
test_delta_channel_chain_reconstruction
AsyncPostgresSaver reconstructs DeltaChannel chain via point-lookup traversal.
libs/checkpoint-postgres/tests/test_async.py:377
Function
test_delta_channel_checkpoint_returns_missing
checkpoint() always returns MISSING regardless of state. Pregel writes `_DeltaSnapshot(ch.get())` directly into `channel_values` on snapshot
libs/langgraph/tests/test_channels.py:326
← previous
next →
4,701–4,800 of 7,100, ranked by callers