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_null_chars
(saver_name: str, test_data)
libs/checkpoint-postgres/tests/test_sync.py:262
Function
test_null_chars
(saver_name: str, test_data)
libs/checkpoint-postgres/tests/test_async.py:282
Method
test_null_repodigests_falls_back_with_warning
(self, mocker)
libs/cli/tests/unit_tests/test_deploy_helpers.py:848
Function
test_null_resume_disallowed_with_multiple_interrupts
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:9345
Function
test_null_resume_disallowed_with_multiple_interrupts
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel.py:8908
Function
test_numeric_filter_safety
Test that numeric filter values are handled safely.
libs/checkpoint-sqlite/tests/test_store.py:1119
Function
test_omit_expired_disabled_preserves_expired_rows
( store: AsyncPostgresStore, omit )
libs/checkpoint-postgres/tests/test_async_store.py:804
Function
test_omit_expired_disabled_preserves_expired_rows
( store: PostgresStore, omit )
libs/checkpoint-postgres/tests/test_store.py:1047
Function
test_omit_expired_filters_read_paths
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:776
Function
test_omit_expired_filters_read_paths
(store: PostgresStore)
libs/checkpoint-postgres/tests/test_store.py:1019
Function
test_omit_expired_refresh_ttl_only_refreshes_live_rows
( store: AsyncPostgresStore, )
libs/checkpoint-postgres/tests/test_async_store.py:820
Function
test_omit_expired_refresh_ttl_only_refreshes_live_rows
( store: PostgresStore, )
libs/checkpoint-postgres/tests/test_store.py:1063
Function
test_omit_expired_search_pagination
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:848
Function
test_omit_expired_search_pagination
(store: PostgresStore)
libs/checkpoint-postgres/tests/test_store.py:1090
Method
test_omits_docker_config_dir_when_none
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:923
Method
test_on_chain_end_does_not_emit_tool_messages
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:890
Method
test_on_llm_end_dedupes_when_final_message_id_differs
A streamed v2 message should not be emitted again from the final AIMessage fallback when its final id does not match `message-start`.
libs/langgraph/tests/test_stream_messages_transformer.py:904
Method
test_on_llm_new_token_is_noop
v2 handler must not emit v1 chunks even when on_llm_new_token fires.
libs/langgraph/tests/test_stream_messages_transformer.py:874
Function
test_on_started_override_without_cause_is_backward_compatible
An `_on_started` override with the original 3-arg signature must work. `cause` is delivered via `self._pending_cause`, not the call signature, so
libs/langgraph/tests/test_stream_lifecycle_transformer.py:684
Function
test_open_event_stream_close_cancels_in_flight_iteration
()
libs/sdk-py/tests/streaming/test_transport_http.py:145
Function
test_open_event_stream_done_records_post_ready_error
()
libs/sdk-py/tests/streaming/test_transport_http.py:509
Function
test_open_event_stream_passes_since_in_body
()
libs/sdk-py/tests/streaming/test_transport_http.py:130
Function
test_open_event_stream_raises_when_closed
()
libs/sdk-py/tests/streaming/test_transport_http.py:384
Function
test_open_event_stream_ready_rejects_on_5xx
()
libs/sdk-py/tests/streaming/test_transport_http.py:328
Function
test_open_event_stream_yields_scripted_events
()
libs/sdk-py/tests/streaming/test_transport_http.py:108
Method
test_original_still_blocks_after_with_allowlist
Original serde should still block after _with_msgpack_allowlist creates a new one.
libs/checkpoint/tests/test_encrypted.py:380
Method
test_other_403_re_raises_original
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:349
Method
test_out_of_scope_event_skipped
Subgraph-scoped `tools` events must not project into a parent transformer's `tool_calls` log. The parent's main event log keeps the e
libs/prebuilt/tests/test_tool_call_transformer.py:199
Method
test_output
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:407
Method
test_output
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:574
Method
test_output_awaitable
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:435
Function
test_output_cancellation_does_not_trigger_new_fetch
When the in-flight fetch task for thread.output is cancelled, a subsequent call must NOT spawn a fresh task and issue a new REST GET; `_get_ta
libs/sdk-py/tests/streaming/test_thread_stream.py:763
Function
test_output_completed_before_attach_returns_rest_state
Explicit thread_id, no run.start, state is terminal → returns REST state without hanging.
libs/sdk-py/tests/streaming/test_output.py:62
Function
test_output_does_not_open_values_stream
Awaiting thread.output must NOT open a values SSE channel.
libs/sdk-py/tests/streaming/test_output.py:105
Function
test_output_explicit_thread_id_non_terminal_falls_through_to_lifecycle
Explicit thread_id, non-terminal state → falls through fast path and waits for lifecycle.
libs/sdk-py/tests/streaming/test_output.py:79
Function
test_output_headers_propagate_to_state_request
Custom headers on the stream session propagate to the GET /state REST call.
libs/sdk-py/tests/streaming/test_output.py:168
Function
test_output_interrupted_interrupts_passthrough
()
libs/langgraph/tests/test_remote_graph_v3.py:78
Method
test_output_matches_final_values_snapshot
output property returns the same state as the last values snapshot.
libs/langgraph/tests/test_stream_events_v3_e2e.py:286
Function
test_output_multiple_awaiters_share_one_state_request
Awaiting thread.output twice shares a single underlying task and REST call.
libs/sdk-py/tests/streaming/test_output.py:125
Function
test_output_no_run_no_lifecycle_raises
Minted thread_id, no run.start, no lifecycle events → raises usage error.
libs/sdk-py/tests/streaming/test_output.py:155
Method
test_output_path_does_not_retain_values
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1699
Function
test_output_terminal_error_raises
Lifecycle errored event → awaiting thread.output raises RuntimeError.
libs/sdk-py/tests/streaming/test_output.py:141
Function
test_output_waits_for_lifecycle_then_fetches_state
run.start + lifecycle completion → await thread.output returns state values.
libs/sdk-py/tests/streaming/test_output.py:20
Function
test_output_with_lifecycle_replay
Lifecycle completion event already in stream when output is awaited → returns immediately.
libs/sdk-py/tests/streaming/test_output.py:40
Function
test_output_with_timeout_raises_timeout_error
thread.output.with_timeout(s) raises TimeoutError when the lifecycle never resolves within the budget.
libs/sdk-py/tests/streaming/test_thread_stream.py:804
Function
test_output_with_timeout_returns_new_awaitable_not_self
with_timeout() returns a fresh awaitable, leaving the original untouched.
libs/sdk-py/tests/streaming/test_thread_stream.py:840
Function
test_output_with_timeout_returns_value_when_lifecycle_completes_in_time
thread.output.with_timeout(s) returns the values dict when the lifecycle resolves within the budget.
libs/sdk-py/tests/streaming/test_thread_stream.py:825
Method
test_output_without_values_transformer
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1007
Function
test_override_runtime
()
libs/langgraph/tests/test_runtime.py:70
Function
test_overriding_injectable_args_with_async_task
Test overriding injectable args in tasks.
libs/langgraph/tests/test_pregel_async.py:7551
Function
test_overriding_injectable_args_with_tasks
Test overriding injectable args in tasks.
libs/langgraph/tests/test_pregel.py:6814
Function
test_oversized_file_is_truncated_not_raised
(tmp_path: pathlib.Path)
libs/cli/tests/unit_tests/test_dependency_tracking.py:117
Function
test_overwrite_dataclass_form_survives_json_roundtrip
`Overwrite` serialised with `orjson` collapses to a plain dict but must still be recognised as an overwrite by the channel reducer. Without t
libs/langgraph/tests/test_channels.py:191
Function
test_overwrite_non_matching_dict_not_recognised
Dicts that resemble the erased shape but do not carry the `__overwrite__` discriminator must not be misclassified as overwrites.
libs/langgraph/tests/test_channels.py:220
Function
test_overwrite_parallel
Test parallel nodes where max one node uses Overwrite to bypass a reducer and write a value directly to the channel.
libs/langgraph/tests/test_pregel.py:9296
Function
test_overwrite_parallel_error
Test parallel nodes where more than one node uses Overwrite to bypass a reducer and write a value directly to the channel. In this case, InvalidUpdate
libs/langgraph/tests/test_pregel.py:9336
Function
test_overwrite_sentinel_dict_still_recognised
The pre-existing `{"__overwrite__": value}` dict form continues to be recognised. This is the canonical sentinel emitted by producers that do
libs/langgraph/tests/test_channels.py:210
Function
test_overwrite_sequential
Test a sequential chain of nodes where the last node uses Overwrite to bypass a reducer and write a value directly to the channel.
libs/langgraph/tests/test_pregel.py:9267
Function
test_parallel_interrupts
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:7579
Function
test_parallel_interrupts_double
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:7737
Function
test_parallel_node_execution
Test that parallel nodes execute concurrently.
libs/langgraph/tests/test_pregel_async.py:6514
Function
test_parallel_node_execution
Test that parallel nodes execute concurrently.
libs/langgraph/tests/test_pregel.py:5258
Function
test_parallel_subgraph_nodes_load_correct_state_on_replay
Two sibling subgraph nodes that fan out from a common predecessor. Each should independently load its own historical checkpoint on replay.
libs/langgraph/tests/test_time_travel.py:3788
Function
test_parallel_subgraphs_report_only_pending_interrupts
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:394
Method
test_parallel_tool_calls_do_not_bleed
(self)
libs/langgraph/tests/test_tool_stream_handler.py:201
Function
test_parent_command
( async_checkpointer: BaseCheckpointSaver, subgraph_persist: bool )
libs/langgraph/tests/test_pregel_async.py:6065
Function
test_parent_command
( sync_checkpointer: BaseCheckpointSaver, subgraph_persist: bool )
libs/langgraph/tests/test_pregel.py:4744
Function
test_parent_command_from_nested_subgraph
()
libs/langgraph/tests/test_parent_command_async.py:13
Function
test_parent_command_from_nested_subgraph
()
libs/langgraph/tests/test_parent_command.py:9
Function
test_parent_command_goto
( async_checkpointer: BaseCheckpointSaver, subgraph_persist: bool, with_timeout: Literal[False, "i
libs/langgraph/tests/test_pregel_async.py:8869
Function
test_parent_command_goto
( sync_checkpointer: BaseCheckpointSaver, subgraph_persist: bool, with_timeout: bool )
libs/langgraph/tests/test_pregel.py:8325
Function
test_parent_command_goto_deeply_nested
Test Command.PARENT in a 3-level nested subgraph. Command.PARENT should jump to sub_child_3 in the immediate parent (sub_graph). Note: With
libs/langgraph/tests/test_pregel.py:8369
Function
test_parse_rejects_a_digest_reference
()
libs/cli/tests/unit_tests/test_image_reference.py:69
Function
test_parse_splits_repository_and_tag
(reference, repository, tag)
libs/cli/tests/unit_tests/test_image_reference.py:36
Function
test_parse_version_w_edge_cases
(input_str, expected)
libs/cli/tests/unit_tests/test_docker.py:441
Function
test_partial_pending_checkpoint
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:935
Function
test_partial_pending_checkpoint
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_large_cases.py:4295
Method
test_passes_docker_config_dir
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:906
Function
test_passthrough_handler
Test a simple passthrough handler that doesn't modify anything.
libs/prebuilt/tests/test_on_tool_call.py:53
Function
test_passthrough_handler_async
Test passthrough handler with async tool.
libs/prebuilt/tests/test_on_tool_call.py:90
Method
test_path_traversal_in_middle_rejected
(self)
libs/cli/tests/unit_tests/test_archive.py:43
Method
test_path_traversal_rejected
(self)
libs/cli/tests/unit_tests/test_archive.py:39
Function
test_pending_sends_migration
(saver_name: str)
libs/checkpoint-postgres/tests/test_sync.py:285
Function
test_pending_sends_migration
(saver_name: str)
libs/checkpoint-postgres/tests/test_async.py:297
Function
test_pending_writes_resume
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:1807
Function
test_pending_writes_resume
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:891
Method
test_places_on_the_listener
(self, request_, listener, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:1193
Function
test_plain_class_not_allowed
()
libs/langgraph/tests/test_type_checking.py:85
Function
test_plain_value_seed_is_found
A pre-delta plain value must be located as the seed. Before #8534 the walk ran to the root and returned no seed, which happens to reconstruct
libs/checkpoint-postgres/tests/test_delta_plain_value_seed.py:59
Function
test_post_migration_writes_match_base_saver_fallback
Parity across the migration boundary WITH post-migration writes. `test_base_saver_fallback_matches_optimized_override` only reads a pre-migra
libs/langgraph/tests/test_delta_channel_migration.py:683
Function
test_post_model_hook
()
libs/prebuilt/tests/test_react_agent.py:1957
Function
test_post_model_hook_with_structured_output
()
libs/prebuilt/tests/test_react_agent.py:1993
Function
test_pre_lane_mutation_lands_in_messages_projection
End-to-end: text mutated by a pre-lane transformer is what `MessagesTransformer` snapshots into its `ChatModelStream` projection. Without `be
libs/langgraph/tests/test_stream_before_builtins.py:230
Function
test_pre_model_hook
()
libs/prebuilt/tests/test_react_agent.py:1924
Method
test_pre_subscription_push_is_noop
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:177
Function
test_prebuilt_image_is_validated_and_pushed_without_a_build
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:452
Function
test_prebuilt_tool_chat
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_large_cases.py:1275
Function
test_prebuilt_tool_chat
()
libs/langgraph/tests/test_large_cases_async.py:1030
Function
test_predicate_fires_on_supersteps_overflow
Unit test: delta_channels_to_snapshot fires when supersteps >= MAX even when updates == 0.
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:155
Function
test_pregel_loop_refcount
()
libs/langgraph/tests/test_pregel_async.py:8323
← previous
next →
5,801–5,900 of 7,100, ranked by callers