Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/burr
/ functions
Functions
2,698 in github.com/apache/burr
⨍
Functions
2,698
◇
Types & classes
381
↳
Endpoints
75
Function
test_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
Function
test_e2e_map_actions_async_subgraph
Tests map actions over multiple action types (runnable graph, function, action class...)
tests/core/test_parallelism.py:467
Function
test_e2e_map_actions_sync_subgraph
Tests map actions over multiple action types (runnable graph, function, action class...)
tests/core/test_parallelism.py:412
Function
test_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
Function
test_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
Function
test_echo_bot
()
tests/test_end_to_end.py:363
Method
test_empty_content_blocks_return_empty_string
(self)
tests/integrations/test_bip0042_bedrock.py:213
Method
test_empty_inference_config_passed_through
inference_config={} must not be replaced by defaults (falsy dict bug).
tests/integrations/test_bip0042_bedrock.py:147
Function
test_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
Function
test_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
Function
test_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
Function
test_end_to_end_pydantic
(tmpdir)
tests/integrations/test_burr_pydantic.py:597
Function
test_end_to_end_pydantic_async
(tmpdir)
tests/integrations/test_burr_pydantic.py:636
Function
test_end_to_end_pydantic_streaming
(tmpdir)
tests/integrations/test_burr_pydantic.py:681
Function
test_end_to_end_pydantic_streaming_async
(tmpdir)
tests/integrations/test_burr_pydantic.py:732
Method
test_eventbridge_wrapped_s3
(self)
tests/tracking/test_bip0042_s3_buffering.py:120
Function
test_example1
Example test that uses a custom fixture.
examples/pytest/test_some_actions.py:26
Function
test_example2
Example that uses pytest-harvest results_bag fixture.
examples/pytest/test_some_actions.py:33
Function
test_example3
Example that shows how to access the module_results_df fixture.
examples/pytest/test_some_actions.py:44
Function
test_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
Method
test_exported_from_burr_core
(self)
tests/core/test_action.py:1183
Method
test_false_when_event_driven_but_no_queue_url
(self)
tests/tracking/test_bip0042_s3_buffering.py:114
Method
test_false_when_polling
(self)
tests/tracking/test_bip0042_s3_buffering.py:110
Function
test_field_level_serde
()
tests/core/test_state.py:148
Function
test_field_level_serde_bad_serde_function
()
tests/core/test_state.py:170
Function
test_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
Function
test_function_based_action
()
tests/core/test_action.py:420
Function
test_function_based_action_async
()
tests/core/test_action.py:520
Function
test_function_based_action_multiple_binds
()
tests/core/test_action.py:454
Function
test_function_based_action_with_defaults
()
tests/core/test_action.py:482
Function
test_function_based_action_with_defaults_async
()
tests/core/test_action.py:559
Function
test_function_based_action_with_defaults_unbound
()
tests/core/test_action.py:499
Function
test_function_based_action_with_inputs
()
tests/core/test_action.py:438
Function
test_function_based_action_with_inputs_async
()
tests/core/test_action.py:540
Function
test_get_actions_by_tag
()
tests/core/test_graph.py:176
Function
test_get_component_source
()
tests/integrations/test_burr_haystack.py:121
Function
test_graph_builder_builds
()
tests/core/test_graph.py:122
Function
test_graph_builder_get_next_node
()
tests/core/test_graph.py:162
Function
test_graph_builder_with_graph
()
tests/core/test_graph.py:135
Method
test_handle_s3_event_method_exists
(self)
tests/tracking/test_bip0042_s3_buffering.py:195
Method
test_handle_s3_event_signature
(self)
tests/tracking/test_bip0042_s3_buffering.py:200
Method
test_import_bedrock_module_from_integrations
Verify `from burr.integrations import bedrock` works.
tests/integrations/test_bip0042_bedrock.py:38
Function
test_initialize_from_applies_override_state_values
()
tests/core/test_application.py:4121
Function
test_input
()
tests/core/test_action.py:408
Function
test_input_socket_mapping
()
tests/integrations/test_burr_haystack.py:77
Function
test_input_socket_sequence
()
tests/integrations/test_burr_haystack.py:88
Function
test_instrument_specs_match_instruments_literal
()
tests/integrations/test_opentelemetry.py:23
Function
test_is_async_false
()
tests/core/test_action.py:62
Function
test_is_async_true
()
tests/core/test_action.py:45
Function
test_is_initialized
Tests that a new connection also returns True for is_initialized.
tests/integrations/persisters/test_postgresql.py:65
Function
test_is_initialized_false
()
tests/integrations/persisters/test_postgresql.py:79
Function
test_iterate
()
tests/core/test_application.py:1925
Function
test_iterate_with_inputs
()
tests/core/test_application.py:1965
Function
test_list_app_ids
(redis_persister)
tests/integrations/persisters/test_b_redis.py:54
Function
test_list_app_ids
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:46
Function
test_list_app_ids
(postgresql_persister)
tests/integrations/persisters/test_postgresql.py:52
Function
test_list_app_ids_with_ns
(redis_persister_with_ns)
tests/integrations/persisters/test_b_redis.py:75
Function
test_load_from_async_cannot_have_sync_persistor_error
()
tests/core/test_application.py:3337
Function
test_load_from_sync_cannot_have_async_persistor_error
()
tests/core/test_application.py:3321
Function
test_load_nonexistent_key
(redis_persister)
tests/integrations/persisters/test_b_redis.py:62
Function
test_load_nonexistent_key
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:54
Function
test_load_nonexistent_key
(postgresql_persister)
tests/integrations/persisters/test_postgresql.py:60
Function
test_load_nonexistent_key_with_ns
(redis_persister_with_ns)
tests/integrations/persisters/test_b_redis.py:83
Function
test_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
Function
test_log_attributes_called
(request)
tests/visibility/test_tracing.py:407
Function
test_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
Function
test_map_actions_default_state
()
tests/core/test_parallelism.py:390
Function
test_map_reduce_function_e2e
()
tests/core/test_parallelism.py:946
Function
test_merge_to_state
()
tests/integrations/test_burr_pydantic.py:146
Method
test_mixin_exists
(self)
tests/tracking/test_bip0042_s3_buffering.py:156
Method
test_mixin_has_abstract_methods
(self)
tests/tracking/test_bip0042_s3_buffering.py:159
Function
test_model_from_state
()
tests/integrations/test_burr_pydantic.py:165
Function
test_model_to_dict_no_deprecation_warning
()
tests/integrations/test_burr_pydantic.py:138
Function
test_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
Method
test_multiple_text_blocks_joined_with_newline
(self)
tests/integrations/test_bip0042_bedrock.py:230
Function
test_multiple_undeclared_reads_interleaved
()
tests/core/test_action.py:1010
Method
test_native_s3_notification_multiple_records
(self)
tests/tracking/test_bip0042_s3_buffering.py:132
Function
test_non_existent_bound_parameters
()
tests/core/test_action.py:984
Function
test_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
Function
test_output_socket_mapping
()
tests/integrations/test_burr_haystack.py:99
Function
test_output_socket_sequence
()
tests/integrations/test_burr_haystack.py:110
Function
test_partition_key_is_optional
(mongodb_persister)
tests/integrations/persisters/test_b_mongodb.py:88
Function
test_persistence_initialization_creates_table
(initializing_persistence)
tests/core/test_persistence.py:48
Function
test_persistence_is_initialized_false
(initializing_persistence)
tests/core/test_persistence.py:77
Function
test_persistence_is_initialized_true
(initializing_persistence)
tests/core/test_persistence.py:81
Function
test_persistence_lists_app_ids
(persistence)
tests/core/test_persistence.py:68
Function
test_persistence_returns_none_when_no_state
(persistence)
tests/core/test_persistence.py:61
Function
test_persistence_saves_and_loads_state
(persistence)
tests/core/test_persistence.py:53
Function
test_persister_methods_none_partition_key
(persistence, method_name: str, kwargs: dict)
tests/core/test_persistence.py:152
Function
test_persister_tracks_parent
(tmpdir)
tests/tracking/test_local_tracking_client.py:208
Function
test_pipeline_converter
()
tests/integrations/test_burr_haystack.py:269
Function
test_placedholder_action
()
tests/core/test_implementations.py:24
Function
test_pre_span_lifecycle_hooks_called
(request)
tests/visibility/test_tracing.py:192
Function
test_pre_span_lifecycle_hooks_called_async
(request)
tests/visibility/test_tracing.py:289
Method
test_preserves_wrapped_name
(self)
tests/core/test_action.py:1159
Function
test_print_results
(module_results_df)
examples/test-case-creation/test_application.py:91
Function
test_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
Function
test_prompt_for_more
A basic test showing how to 'unit' test an action.
examples/test-case-creation/test_application.py:35
Function
test_prompt_for_more_from_file
Function for testing the action
examples/test-case-creation/test_application.py:71
Method
test_protocol_exists
Verify StateToPromptMapper Protocol is defined.
tests/integrations/test_bip0042_bedrock.py:363
← previous
next →
2,301–2,400 of 2,698, ranked by callers