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_pregel_loop_refcount
()
libs/langgraph/tests/test_pregel.py:7851
Function
test_pregel_node_copy
()
libs/langgraph/tests/test_pregel.py:7992
Function
test_pregel_types_deprecation
()
libs/langgraph/tests/test_deprecation.py:100
Function
test_pregel_user_raised_cancellederror_fails_run
End-to-end: a two-branch graph where one branch raises ``asyncio.CancelledError`` must fail the run instead of returning a partial-success sta
libs/langgraph/tests/test_retry.py:2917
Function
test_pregel_validate_accepts_async_runnable_lambda_timeout
()
libs/langgraph/tests/test_retry.py:1386
Function
test_pregel_validate_accepts_runnable_callable_with_sync_and_async_timeout
()
libs/langgraph/tests/test_retry.py:1413
Function
test_pregel_validate_accepts_wrapped_async_runnable_lambda_timeout
()
libs/langgraph/tests/test_retry.py:1306
Function
test_pregel_validate_rejects_parallel_sync_branch_timeout
()
libs/langgraph/tests/test_retry.py:1329
Function
test_pregel_validate_rejects_sync_node_timeout
()
libs/langgraph/tests/test_retry.py:1361
Function
test_pregel_validate_rejects_sync_writer_timeout
()
libs/langgraph/tests/test_retry.py:1255
Function
test_pregel_validate_rejects_wrapped_sync_runnable_lambda_timeout
()
libs/langgraph/tests/test_retry.py:1282
Function
test_prepare_args_and_stdin
()
libs/cli/tests/unit_tests/cli/test_cli.py:52
Function
test_prepare_args_and_stdin_distributed_mode
Test prepare_args_and_stdin with distributed mode includes all services.
libs/cli/tests/unit_tests/cli/test_cli.py:1347
Function
test_prepare_args_and_stdin_with_api_version
Test prepare_args_and_stdin function with api_version parameter.
libs/cli/tests/unit_tests/cli/test_cli.py:1185
Function
test_prepare_args_and_stdin_with_api_version_and_image
Test prepare_args_and_stdin function with both api_version and image parameters.
libs/cli/tests/unit_tests/cli/test_cli.py:1218
Function
test_prepare_args_and_stdin_with_image
()
libs/cli/tests/unit_tests/cli/test_cli.py:174
Function
test_prepare_next_tasks
()
libs/langgraph/tests/test_algo.py:6
Method
test_preserves_cipher
_with_msgpack_allowlist should preserve the cipher from the original.
libs/checkpoint/tests/test_encrypted.py:287
Function
test_private_input_schema_conditional_edge
()
libs/langgraph/tests/test_state.py:311
Method
test_projection_key_conflict_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1299
Function
test_projection_registry_typed_decoded_and_custom
()
libs/langgraph/tests/test_remote_graph_v3.py:106
Function
test_prompt_with_store
(version: str)
libs/prebuilt/tests/test_react_agent.py:207
Function
test_prompt_with_store_async
()
libs/prebuilt/tests/test_react_agent.py:253
Method
test_propagates_allowlist_to_inner_serde
_with_msgpack_allowlist should propagate allowlist to inner JsonPlusSerializer.
libs/checkpoint/tests/test_encrypted.py:269
Function
test_protocol_event_method_is_native
Native transformer — auto-forwarded events use `lifecycle`, not `custom:lifecycle`.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:310
Function
test_protocol_types_are_importable_from_stream_module
Test that v3 protocol types are re-exported from langgraph_sdk.stream.
libs/sdk-py/tests/streaming/test_subscription.py:259
Function
test_prune_delete_all
delete_all strategy removes everything.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:142
Function
test_prune_empty_list_noop
Empty thread_ids no error.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:175
Function
test_prune_keep_latest_across_namespaces
Latest per namespace kept.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:73
Function
test_prune_keep_latest_multiple_threads
Each thread keeps its latest.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:53
Function
test_prune_keep_latest_preserves_writes
Latest checkpoint's writes kept.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:117
Function
test_prune_keep_latest_single_thread
Only latest checkpoint survives.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:34
Function
test_prune_nonexistent_noop
Missing threads no error.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:180
Function
test_prune_preserves_other_threads
Unlisted threads untouched.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:154
Function
test_public_api_exports
Verify public API exports from langgraph_sdk package.
libs/sdk-py/tests/test_client_exports.py:75
Function
test_pump_backpressures_when_queue_full
Slow consumer should not cause unbounded queue growth. With maxsize=2 and a producer that emits 100 events before any consumption, the pump m
libs/sdk-py/tests/streaming/test_transport_http.py:185
Method
test_push_after_close_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:211
Method
test_push_after_fail_raises
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:221
Method
test_push_and_iterate
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:339
Function
test_push_is_retried_until_the_third_attempt
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:472
Function
test_push_messages_in_graph
()
libs/langgraph/tests/test_messages_state.py:346
Method
test_push_to_build_requires_local_docker
(self, monkeypatch)
libs/cli/tests/unit_tests/test_deploy_helpers.py:725
Function
test_push_to_builds_directly_with_the_push_reference
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:577
Function
test_push_to_builds_pushes_then_creates_an_external_deployment
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:554
Function
test_push_to_composes_with_the_tag_flag
(deploy_project: DeployProject)
libs/cli/tests/unit_tests/cli/test_deploy_command.py:591
Function
test_push_to_places_a_new_deployment_on_the_chosen_listener
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:736
Function
test_push_to_places_a_new_deployment_on_the_only_listener
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:708
Function
test_push_to_refuses_an_unresolved_placement_before_any_docker_work
( deploy_project: DeployProject, listeners, args, message )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:776
Function
test_push_to_rejects_a_non_external_deployment_before_any_docker_work
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:663
Function
test_push_to_retags_a_prebuilt_image_instead_of_building
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:616
Function
test_push_to_updates_an_existing_external_deployment_with_the_new_image
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:639
Function
test_push_to_with_a_failing_push_creates_no_deployment
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:598
Function
test_push_to_with_deployment_id_fetches_the_deployment_once
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:677
Method
test_push_unbounded_by_design
Push is non-blocking; the caller-driven pump bounds memory via iteration pace.
libs/langgraph/tests/test_pregel_stream_events_v3.py:1751
Method
test_push_without_wire
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:372
Function
test_put_channel_removed
Channel no longer in channel_versions should not appear in loaded values.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:301
Function
test_put_child_namespace
checkpoint_ns='child:abc' works.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:138
Function
test_put_default_namespace
Config without checkpoint_ns defaults to ''.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:150
Function
test_put_incremental_channel_update
Only updated channels need new blobs; unchanged channels loaded from prior versions.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:231
Function
test_put_multiple_checkpoints_same_thread
Sequential puts on same thread, all retrievable.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:162
Function
test_put_multiple_threads_isolated
Different thread_ids don't interfere.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:188
Function
test_put_new_channel_added
A channel that appears for the first time in a later checkpoint.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:271
Function
test_put_parent_config
parent checkpoint_id tracked correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:209
Function
test_put_preserves_channel_values
Various types (str, int, list, dict, bytes, None) round-trip correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:54
Function
test_put_preserves_channel_versions
ChannelVersions round-trip correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:77
Function
test_put_preserves_metadata
Metadata source, step, parents, and custom keys round-trip.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:112
Function
test_put_preserves_run_id
run_id in metadata round-trips correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:331
Function
test_put_preserves_versions_seen
versions_seen dict round-trips.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:98
Function
test_put_preserves_versions_seen_values
versions_seen values (not just keys) round-trip correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:346
Function
test_put_returns_config
aput returns a RunnableConfig with thread_id, checkpoint_ns, checkpoint_id.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:22
Function
test_put_root_namespace
checkpoint_ns='' works.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:126
Function
test_put_roundtrip
put then get_tuple returns identical checkpoint.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put.py:39
Function
test_put_writes_across_namespaces
Writes isolated by checkpoint_ns.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:207
Function
test_put_writes_basic
Write stored, visible in aget_tuple pending_writes.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:18
Function
test_put_writes_cleared_on_next_checkpoint
New checkpoint starts with fresh pending_writes.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:242
Function
test_put_writes_idempotent
Duplicate (task_id, idx) doesn't duplicate writes.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:148
Function
test_put_writes_multiple_tasks
Different task_ids produce separate writes.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:69
Function
test_put_writes_multiple_writes_same_task
Multiple (channel, value) pairs in a single call.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:37
Function
test_put_writes_preserves_channel_and_value
Channel name + value round-trip.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:111
Function
test_put_writes_preserves_task_id
task_id in pending_writes matches what was passed to aput_writes.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:95
Function
test_put_writes_special_channels
ERROR and INTERRUPT channels handled correctly.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:170
Function
test_put_writes_task_path
task_path parameter accepted without error.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_put_writes.py:131
Function
test_py_async_with_cancel_behavior
This test confirms that in all versions of Python we support, __aexit__ is not cancelled when the coroutine containing the async with block is can
libs/langgraph/tests/test_pregel_async.py:258
Function
test_pydantic_none_state_update
()
libs/langgraph/tests/test_pregel.py:7104
Function
test_pydantic_state_field_validator
()
libs/langgraph/tests/test_pydantic.py:287
Function
test_pydantic_state_mutation
()
libs/langgraph/tests/test_pregel.py:7146
Function
test_pydantic_state_mutation_command
()
libs/langgraph/tests/test_pregel.py:7178
Function
test_pydantic_state_update_command
()
libs/langgraph/tests/test_pregel.py:7115
Function
test_pydantic_state_with_default_field_missing_works
Test that Pydantic state with Optional field and default=None works when field is missing. This is the workaround suggested in the issue comments
libs/prebuilt/tests/test_injected_state_not_required.py:226
Function
test_pydantic_state_with_default_field_present_works
Test that Pydantic state with Optional field works when field IS present.
libs/prebuilt/tests/test_injected_state_not_required.py:257
Method
test_pydantic_warns_by_default
Pydantic models not in allowlist should log warning but still deserialize.
libs/checkpoint/tests/test_encrypted.py:143
Function
test_pyproject_specifier_used_when_no_lock
(tmp_path: pathlib.Path)
libs/cli/tests/unit_tests/test_dependency_tracking.py:44
Function
test_raise_for_status_typed_maps_exceptions_and_sets_status_code
( status: int, exc_type: type[APIStatusError] )
libs/sdk-py/tests/test_errors.py:58
Method
test_raises_on_oversized_archive
(self, mock_deps, tmp_path)
libs/cli/tests/unit_tests/test_archive.py:263
Method
test_raises_when_no_api_key_and_no_input
(self, monkeypatch, tmp_path)
libs/cli/tests/unit_tests/test_deploy_helpers.py:526
Method
test_raw_event_iteration
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:414
Method
test_raw_event_iteration
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:581
Method
test_raw_events_have_monotonic_seq
Raw protocol events have monotonically increasing seq numbers.
libs/langgraph/tests/test_stream_events_v3_e2e.py:270
Function
test_react_agent_graph_structure
( snapshot: SnapshotAssertion, tools: list[Callable], pre_model_hook: Callable | None, post_mo
libs/prebuilt/tests/test_react_agent_graph.py:38
Function
test_react_agent_parallel_tool_calls
( sync_checkpointer: BaseCheckpointSaver, version: str )
libs/prebuilt/tests/test_react_agent.py:599
← previous
next →
5,901–6,000 of 7,100, ranked by callers