MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

Functiontest_e2e_map_actions_and_states_sync
Tests the map states action with a subgraph that is run in parallel. Collatz conjecture over different starting points
tests/core/test_parallelism.py:655
Functiontest_e2e_map_actions_async_subgraph
Tests map actions over multiple action types (runnable graph, function, action class...)
tests/core/test_parallelism.py:467
Functiontest_e2e_map_actions_sync_subgraph
Tests map actions over multiple action types (runnable graph, function, action class...)
tests/core/test_parallelism.py:412
Functiontest_e2e_map_states_async_subgraph
Tests the map states action with a subgraph that is run in parallel. Collatz conjecture over different starting points
tests/core/test_parallelism.py:598
Functiontest_e2e_map_states_sync_subgraph
Tests the map states action with a subgraph that is run in parallel. Collatz conjecture over different starting points
tests/core/test_parallelism.py:533
Functiontest_echo_bot
()
tests/test_end_to_end.py:363
Methodtest_empty_content_blocks_return_empty_string
(self)
tests/integrations/test_bip0042_bedrock.py:213
Methodtest_empty_inference_config_passed_through
inference_config={} must not be replaced by defaults (falsy dict bug).
tests/integrations/test_bip0042_bedrock.py:147
Functiontest_end_to_end_collatz_with_function_api
End-to-end test for collatz conjecture. This is a fun (unproven) finite state machine.
tests/test_end_to_end.py:46
Functiontest_end_to_end_parallel_collatz_many_unreliable_tasks
Tests collatz conjecture search on multiple tasks. Each of these persists its own capabilities and state. This uses the in memory persister to
tests/test_end_to_end.py:95
Functiontest_end_to_end_parallel_collatz_many_unreliable_tasks_async
Tests collatz conjecture search on multiple tasks. Each of these persists its own capabilities and state. This uses the in memory persister to
tests/test_end_to_end.py:228
Functiontest_end_to_end_pydantic
(tmpdir)
tests/integrations/test_burr_pydantic.py:597
Functiontest_end_to_end_pydantic_async
(tmpdir)
tests/integrations/test_burr_pydantic.py:636
Functiontest_end_to_end_pydantic_streaming
(tmpdir)
tests/integrations/test_burr_pydantic.py:681
Functiontest_end_to_end_pydantic_streaming_async
(tmpdir)
tests/integrations/test_burr_pydantic.py:732
Methodtest_eventbridge_wrapped_s3
(self)
tests/tracking/test_bip0042_s3_buffering.py:120
Functiontest_example1
Example test that uses a custom fixture.
examples/pytest/test_some_actions.py:26
Functiontest_example2
Example that uses pytest-harvest results_bag fixture.
examples/pytest/test_some_actions.py:33
Functiontest_example3
Example that shows how to access the module_results_df fixture.
examples/pytest/test_some_actions.py:44
Functiontest_examples_include_exclude_coverage
Verify that pyproject.toml's [tool.flit.sdist] include/exclude lists cover all example directories. WHY THIS TEST EXISTS: Flit autom
tests/test_release_config.py:38
Methodtest_exported_from_burr_core
(self)
tests/core/test_action.py:1183
Methodtest_false_when_event_driven_but_no_queue_url
(self)
tests/tracking/test_bip0042_s3_buffering.py:114
Methodtest_false_when_polling
(self)
tests/tracking/test_bip0042_s3_buffering.py:110
Functiontest_field_level_serde
()
tests/core/test_state.py:148
Functiontest_field_level_serde_bad_serde_function
()
tests/core/test_state.py:170
Functiontest_fork_children_have_correct_partition_key
Tests that children.jsonl in the parent app directory has the correct partition_key for the forked child app. Regression test for #518.
tests/tracking/test_local_tracking_client.py:245
Functiontest_function_based_action
()
tests/core/test_action.py:420
Functiontest_function_based_action_async
()
tests/core/test_action.py:520
Functiontest_function_based_action_multiple_binds
()
tests/core/test_action.py:454
Functiontest_function_based_action_with_defaults
()
tests/core/test_action.py:482
Functiontest_function_based_action_with_defaults_async
()
tests/core/test_action.py:559
Functiontest_function_based_action_with_defaults_unbound
()
tests/core/test_action.py:499
Functiontest_function_based_action_with_inputs
()
tests/core/test_action.py:438
Functiontest_function_based_action_with_inputs_async
()
tests/core/test_action.py:540
Functiontest_get_actions_by_tag
()
tests/core/test_graph.py:176
Functiontest_get_component_source
()
tests/integrations/test_burr_haystack.py:121
Functiontest_graph_builder_builds
()
tests/core/test_graph.py:122
Functiontest_graph_builder_get_next_node
()
tests/core/test_graph.py:162
Functiontest_graph_builder_with_graph
()
tests/core/test_graph.py:135
Methodtest_handle_s3_event_method_exists
(self)
tests/tracking/test_bip0042_s3_buffering.py:195
Methodtest_handle_s3_event_signature
(self)
tests/tracking/test_bip0042_s3_buffering.py:200
Methodtest_import_bedrock_module_from_integrations
Verify `from burr.integrations import bedrock` works.
tests/integrations/test_bip0042_bedrock.py:38
Functiontest_initialize_from_applies_override_state_values
()
tests/core/test_application.py:4121
Functiontest_input
()
tests/core/test_action.py:408
Functiontest_input_socket_mapping
()
tests/integrations/test_burr_haystack.py:77
Functiontest_input_socket_sequence
()
tests/integrations/test_burr_haystack.py:88
Functiontest_instrument_specs_match_instruments_literal
()
tests/integrations/test_opentelemetry.py:23
Functiontest_is_async_false
()
tests/core/test_action.py:62
Functiontest_is_async_true
()
tests/core/test_action.py:45
Functiontest_is_initialized
Tests that a new connection also returns True for is_initialized.
tests/integrations/persisters/test_postgresql.py:65
Functiontest_is_initialized_false
()
tests/integrations/persisters/test_postgresql.py:79
Functiontest_iterate
()
tests/core/test_application.py:1925
Functiontest_iterate_with_inputs
()
tests/core/test_application.py:1965
Functiontest_list_app_ids
(redis_persister)
tests/integrations/persisters/test_b_redis.py:54
Functiontest_list_app_ids
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:46
Functiontest_list_app_ids
(postgresql_persister)
tests/integrations/persisters/test_postgresql.py:52
Functiontest_list_app_ids_with_ns
(redis_persister_with_ns)
tests/integrations/persisters/test_b_redis.py:75
Functiontest_load_from_async_cannot_have_sync_persistor_error
()
tests/core/test_application.py:3337
Functiontest_load_from_sync_cannot_have_async_persistor_error
()
tests/core/test_application.py:3321
Functiontest_load_nonexistent_key
(redis_persister)
tests/integrations/persisters/test_b_redis.py:62
Functiontest_load_nonexistent_key
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:54
Functiontest_load_nonexistent_key
(postgresql_persister)
tests/integrations/persisters/test_postgresql.py:60
Functiontest_load_nonexistent_key_with_ns
(redis_persister_with_ns)
tests/integrations/persisters/test_b_redis.py:83
Functiontest_local_tracking_client_copy
Tests tracking client .copy() method for serialization/parallelism. Internal-facing contracts but we want coverage here.
tests/tracking/test_local_tracking_client.py:556
Functiontest_log_attributes_called
(request)
tests/visibility/test_tracing.py:407
Functiontest_map_actions_and_states_uses_same_persister_as_loader
This tests the MapActionsAndStates functionality of using the correct persister. Specifically we want it to use the same instance for the saver as
tests/core/test_parallelism.py:1172
Functiontest_map_actions_default_state
()
tests/core/test_parallelism.py:390
Functiontest_map_reduce_function_e2e
()
tests/core/test_parallelism.py:946
Functiontest_merge_to_state
()
tests/integrations/test_burr_pydantic.py:146
Methodtest_mixin_exists
(self)
tests/tracking/test_bip0042_s3_buffering.py:156
Methodtest_mixin_has_abstract_methods
(self)
tests/tracking/test_bip0042_s3_buffering.py:159
Functiontest_model_from_state
()
tests/integrations/test_burr_pydantic.py:165
Functiontest_model_to_dict_no_deprecation_warning
()
tests/integrations/test_burr_pydantic.py:138
Functiontest_multi_fork_tracking_client
This is more of an end-to-end test. We shoudl probably break it out into smaller tests but the local tracking client being used as a persister is
tests/tracking/test_local_tracking_client.py:312
Methodtest_multiple_text_blocks_joined_with_newline
(self)
tests/integrations/test_bip0042_bedrock.py:230
Functiontest_multiple_undeclared_reads_interleaved
()
tests/core/test_action.py:1010
Methodtest_native_s3_notification_multiple_records
(self)
tests/tracking/test_bip0042_s3_buffering.py:132
Functiontest_non_existent_bound_parameters
()
tests/core/test_action.py:984
Functiontest_optional_context_in_dependency_factories
Tests that the context is passed to the function correctly when nulled out. TODO -- get this to test without instantiating an application through
tests/core/test_application.py:3663
Functiontest_output_socket_mapping
()
tests/integrations/test_burr_haystack.py:99
Functiontest_output_socket_sequence
()
tests/integrations/test_burr_haystack.py:110
Functiontest_partition_key_is_optional
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:88
Functiontest_persistence_initialization_creates_table
(initializing_persistence)
tests/core/test_persistence.py:48
Functiontest_persistence_is_initialized_false
(initializing_persistence)
tests/core/test_persistence.py:77
Functiontest_persistence_is_initialized_true
(initializing_persistence)
tests/core/test_persistence.py:81
Functiontest_persistence_lists_app_ids
(persistence)
tests/core/test_persistence.py:68
Functiontest_persistence_returns_none_when_no_state
(persistence)
tests/core/test_persistence.py:61
Functiontest_persistence_saves_and_loads_state
(persistence)
tests/core/test_persistence.py:53
Functiontest_persister_methods_none_partition_key
(persistence, method_name: str, kwargs: dict)
tests/core/test_persistence.py:152
Functiontest_persister_tracks_parent
(tmpdir)
tests/tracking/test_local_tracking_client.py:208
Functiontest_pipeline_converter
()
tests/integrations/test_burr_haystack.py:269
Functiontest_placedholder_action
()
tests/core/test_implementations.py:24
Functiontest_pre_span_lifecycle_hooks_called
(request)
tests/visibility/test_tracing.py:192
Functiontest_pre_span_lifecycle_hooks_called_async
(request)
tests/visibility/test_tracing.py:289
Methodtest_preserves_wrapped_name
(self)
tests/core/test_action.py:1159
Functiontest_print_results
(module_results_df)
examples/test-case-creation/test_application.py:91
Functiontest_print_results
This is an example using pytest-harvest and our custom git fixture to return results to a central location. You could use other plugins, or create
examples/pytest/test_some_actions.py:176
Functiontest_prompt_for_more
A basic test showing how to 'unit' test an action.
examples/test-case-creation/test_application.py:35
Functiontest_prompt_for_more_from_file
Function for testing the action
examples/test-case-creation/test_application.py:71
Methodtest_protocol_exists
Verify StateToPromptMapper Protocol is defined.
tests/integrations/test_bip0042_bedrock.py:363
← previousnext →2,301–2,400 of 2,698, ranked by callers