MCPcopy Create free account

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

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

Functiontest_null_chars
(saver_name: str, test_data)
libs/checkpoint-postgres/tests/test_sync.py:262
Functiontest_null_chars
(saver_name: str, test_data)
libs/checkpoint-postgres/tests/test_async.py:282
Methodtest_null_repodigests_falls_back_with_warning
(self, mocker)
libs/cli/tests/unit_tests/test_deploy_helpers.py:848
Functiontest_null_resume_disallowed_with_multiple_interrupts
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:9345
Functiontest_null_resume_disallowed_with_multiple_interrupts
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel.py:8908
Functiontest_numeric_filter_safety
Test that numeric filter values are handled safely.
libs/checkpoint-sqlite/tests/test_store.py:1119
Functiontest_omit_expired_disabled_preserves_expired_rows
( store: AsyncPostgresStore, omit )
libs/checkpoint-postgres/tests/test_async_store.py:804
Functiontest_omit_expired_disabled_preserves_expired_rows
( store: PostgresStore, omit )
libs/checkpoint-postgres/tests/test_store.py:1047
Functiontest_omit_expired_filters_read_paths
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:776
Functiontest_omit_expired_filters_read_paths
(store: PostgresStore)
libs/checkpoint-postgres/tests/test_store.py:1019
Functiontest_omit_expired_refresh_ttl_only_refreshes_live_rows
( store: AsyncPostgresStore, )
libs/checkpoint-postgres/tests/test_async_store.py:820
Functiontest_omit_expired_refresh_ttl_only_refreshes_live_rows
( store: PostgresStore, )
libs/checkpoint-postgres/tests/test_store.py:1063
Functiontest_omit_expired_search_pagination
(store: AsyncPostgresStore)
libs/checkpoint-postgres/tests/test_async_store.py:848
Functiontest_omit_expired_search_pagination
(store: PostgresStore)
libs/checkpoint-postgres/tests/test_store.py:1090
Methodtest_omits_docker_config_dir_when_none
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:923
Methodtest_on_chain_end_does_not_emit_tool_messages
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:890
Methodtest_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
Methodtest_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
Functiontest_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
Functiontest_open_event_stream_close_cancels_in_flight_iteration
()
libs/sdk-py/tests/streaming/test_transport_http.py:145
Functiontest_open_event_stream_done_records_post_ready_error
()
libs/sdk-py/tests/streaming/test_transport_http.py:509
Functiontest_open_event_stream_passes_since_in_body
()
libs/sdk-py/tests/streaming/test_transport_http.py:130
Functiontest_open_event_stream_raises_when_closed
()
libs/sdk-py/tests/streaming/test_transport_http.py:384
Functiontest_open_event_stream_ready_rejects_on_5xx
()
libs/sdk-py/tests/streaming/test_transport_http.py:328
Functiontest_open_event_stream_yields_scripted_events
()
libs/sdk-py/tests/streaming/test_transport_http.py:108
Methodtest_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
Methodtest_other_403_re_raises_original
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:349
Methodtest_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
Methodtest_output
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:407
Methodtest_output
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:574
Methodtest_output_awaitable
(self)
libs/langgraph/tests/test_stream_messages_transformer.py:435
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_output_interrupted_interrupts_passthrough
()
libs/langgraph/tests/test_remote_graph_v3.py:78
Methodtest_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
Functiontest_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
Functiontest_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
Methodtest_output_path_does_not_retain_values
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1699
Functiontest_output_terminal_error_raises
Lifecycle errored event → awaiting thread.output raises RuntimeError.
libs/sdk-py/tests/streaming/test_output.py:141
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Methodtest_output_without_values_transformer
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1007
Functiontest_override_runtime
()
libs/langgraph/tests/test_runtime.py:70
Functiontest_overriding_injectable_args_with_async_task
Test overriding injectable args in tasks.
libs/langgraph/tests/test_pregel_async.py:7551
Functiontest_overriding_injectable_args_with_tasks
Test overriding injectable args in tasks.
libs/langgraph/tests/test_pregel.py:6814
Functiontest_oversized_file_is_truncated_not_raised
(tmp_path: pathlib.Path)
libs/cli/tests/unit_tests/test_dependency_tracking.py:117
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_parallel_interrupts
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:7579
Functiontest_parallel_interrupts_double
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_pregel.py:7737
Functiontest_parallel_node_execution
Test that parallel nodes execute concurrently.
libs/langgraph/tests/test_pregel_async.py:6514
Functiontest_parallel_node_execution
Test that parallel nodes execute concurrently.
libs/langgraph/tests/test_pregel.py:5258
Functiontest_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
Functiontest_parallel_subgraphs_report_only_pending_interrupts
( sync_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_interrupt_state.py:394
Methodtest_parallel_tool_calls_do_not_bleed
(self)
libs/langgraph/tests/test_tool_stream_handler.py:201
Functiontest_parent_command
( async_checkpointer: BaseCheckpointSaver, subgraph_persist: bool )
libs/langgraph/tests/test_pregel_async.py:6065
Functiontest_parent_command
( sync_checkpointer: BaseCheckpointSaver, subgraph_persist: bool )
libs/langgraph/tests/test_pregel.py:4744
Functiontest_parent_command_from_nested_subgraph
()
libs/langgraph/tests/test_parent_command_async.py:13
Functiontest_parent_command_from_nested_subgraph
()
libs/langgraph/tests/test_parent_command.py:9
Functiontest_parent_command_goto
( async_checkpointer: BaseCheckpointSaver, subgraph_persist: bool, with_timeout: Literal[False, "i
libs/langgraph/tests/test_pregel_async.py:8869
Functiontest_parent_command_goto
( sync_checkpointer: BaseCheckpointSaver, subgraph_persist: bool, with_timeout: bool )
libs/langgraph/tests/test_pregel.py:8325
Functiontest_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
Functiontest_parse_rejects_a_digest_reference
()
libs/cli/tests/unit_tests/test_image_reference.py:69
Functiontest_parse_splits_repository_and_tag
(reference, repository, tag)
libs/cli/tests/unit_tests/test_image_reference.py:36
Functiontest_parse_version_w_edge_cases
(input_str, expected)
libs/cli/tests/unit_tests/test_docker.py:441
Functiontest_partial_pending_checkpoint
( async_checkpointer: BaseCheckpointSaver, )
libs/langgraph/tests/test_pregel_async.py:935
Functiontest_partial_pending_checkpoint
(sync_checkpointer: BaseCheckpointSaver)
libs/langgraph/tests/test_large_cases.py:4295
Methodtest_passes_docker_config_dir
(self)
libs/cli/tests/unit_tests/test_deploy_helpers.py:906
Functiontest_passthrough_handler
Test a simple passthrough handler that doesn't modify anything.
libs/prebuilt/tests/test_on_tool_call.py:53
Functiontest_passthrough_handler_async
Test passthrough handler with async tool.
libs/prebuilt/tests/test_on_tool_call.py:90
Methodtest_path_traversal_in_middle_rejected
(self)
libs/cli/tests/unit_tests/test_archive.py:43
Methodtest_path_traversal_rejected
(self)
libs/cli/tests/unit_tests/test_archive.py:39
Functiontest_pending_sends_migration
(saver_name: str)
libs/checkpoint-postgres/tests/test_sync.py:285
Functiontest_pending_sends_migration
(saver_name: str)
libs/checkpoint-postgres/tests/test_async.py:297
Functiontest_pending_writes_resume
( async_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel_async.py:1807
Functiontest_pending_writes_resume
( sync_checkpointer: BaseCheckpointSaver, durability: Durability )
libs/langgraph/tests/test_pregel.py:891
Methodtest_places_on_the_listener
(self, request_, listener, expected)
libs/cli/tests/unit_tests/test_deploy_helpers.py:1193
Functiontest_plain_class_not_allowed
()
libs/langgraph/tests/test_type_checking.py:85
Functiontest_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
Functiontest_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
Functiontest_post_model_hook
()
libs/prebuilt/tests/test_react_agent.py:1957
Functiontest_post_model_hook_with_structured_output
()
libs/prebuilt/tests/test_react_agent.py:1993
Functiontest_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
Functiontest_pre_model_hook
()
libs/prebuilt/tests/test_react_agent.py:1924
Methodtest_pre_subscription_push_is_noop
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:177
Functiontest_prebuilt_image_is_validated_and_pushed_without_a_build
( deploy_project: DeployProject, )
libs/cli/tests/unit_tests/cli/test_deploy_command.py:452
Functiontest_prebuilt_tool_chat
(snapshot: SnapshotAssertion)
libs/langgraph/tests/test_large_cases.py:1275
Functiontest_prebuilt_tool_chat
()
libs/langgraph/tests/test_large_cases_async.py:1030
Functiontest_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
Functiontest_pregel_loop_refcount
()
libs/langgraph/tests/test_pregel_async.py:8323
← previousnext →5,801–5,900 of 7,100, ranked by callers