MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

↓ 7 callersFunction_incrementing_driver
()
tests/integrations/test_burr_hamilton.py:25
↓ 7 callersFunction_print_section
Print a formatted section header.
scripts/apache_release.py:70
↓ 7 callersFunction_run_multi_step_streaming_action
Runs a multi-step streaming action. E.G. one with a run/reduce step. This API is internal-facing. Note that this converts the shape of a multi
burr/core/application.py:458
↓ 7 callersFunction_run_reducer
Runs the reducer, returning the new state. Note this restricts the keys in the state to only those that the function writes. :param reducer:
burr/core/application.py:243
↓ 7 callersFunction_run_single_step_streaming_action
Runs a single step streaming action. This API is internal-facing. This normalizes + validates the output.
burr/core/application.py:323
↓ 7 callersMethodrun
Call the Haystack `Component.run()` method. :param state: State object of the application. It contains some input values for ``Com
burr/integrations/haystack.py:231
↓ 7 callersFunctionslp
()
burr/integrations/opentelemetry.py:714
↓ 7 callersFunctionsubset_model
Creates a new pydantic model that is a subset of the original model. This is just to make it more efficient, as we can dynamically alter pydantic
burr/integrations/pydantic.py:64
↓ 6 callersFunction_adjust_single_step_output
Adjusts the output of a single step action to be a tuple of (result, state) or just state
burr/core/application.py:111
↓ 6 callersFunction_arun_multi_step_streaming_action
Runs a multi-step streaming action in async. See the synchronous version for more details.
burr/core/application.py:522
↓ 6 callersFunction_cascade_adapter
Cascades the desired adapter given the specified behavior (cascade, None, or an adapter). If shared_instance is specified (non-null) as well as `c
burr/core/parallelism.py:361
↓ 6 callersFunction_print_section
Print formatted section header.
scripts/verify_apache_artifacts.py:64
↓ 6 callersMethod_process_inputs
Processes inputs, injecting the common inputs and ensuring that all required inputs are present.
burr/core/application.py:1017
↓ 6 callersFunction_run_command
Run a subprocess command with consistent error handling and output. Args: cmd: Command and arguments as list description: What we
scripts/apache_release.py:83
↓ 6 callersFunction_verify_artifact_complete
Verify artifact and its signature/checksum files.
scripts/apache_release.py:328
↓ 6 callersFunctioncreate_full_subgraph
(identifying_number: int = 0)
tests/core/test_parallelism.py:173
↓ 6 callersMethodget_actions_by_tag
Gets a list of actions given a tag. Note that, if no tags match the action a ValueError will be raised.
burr/core/graph.py:173
↓ 6 callersMethodhas_next_action
Returns whether or not there is a next action to run. :return: True if there is a next action, False otherwise
burr/core/application.py:1202
↓ 6 callersFunctionisOrbMode
(props: MagicCardProps)
website/src/components/ui/magic-card.tsx:59
↓ 6 callersFunctionmodel_from_state
Creates a model from the state object -- capturing just the fields that are relevant to the model itself. :param model: model type to create
burr/integrations/pydantic.py:112
↓ 6 callersMethodrun
(self, state: State, **run_kwargs)
tests/core/test_parallelism.py:96
↓ 6 callersMethodrun
(self, required_input: str, optional_input: str = "default")
tests/integrations/test_burr_haystack.py:38
↓ 6 callersFunctionsetCurrentSequenceLocation
(location: SequenceLocation | undefined)
telemetry/ui/src/components/routes/app/AppView.tsx:217
↓ 6 callersFunctionsleep_random
()
tests/core/test_parallelism.py:55
↓ 6 callersMethodupdate
(self, result: dict, state: State)
tests/tracking/test_common_models.py:37
↓ 5 callersFunction_enter_span
Utility function to enter a span. Starts, sets the current context, and adds it to the token stack. See this for some background on why start_spa
burr/integrations/opentelemetry.py:125
↓ 5 callersFunction_exit_span
Ditto with _enter_span, but for exiting the span. Pops the token off the stack and detaches the context.
burr/integrations/opentelemetry.py:111
↓ 5 callersMethod_get_connection
Gets a connection - either the dedicated one or one from the pool.
burr/integrations/persisters/b_asyncpg.py:222
↓ 5 callersMethod_release_connection
Releases a connection back to the pool if it was acquired.
burr/integrations/persisters/b_asyncpg.py:231
↓ 5 callersFunction_remap_dunder_parameters
This is a utility function to remap the __dunder parameters to the mangled version in the function signature. Python mangles __parameter names in
burr/core/application.py:130
↓ 5 callersFunction_run_function
Runs a function, returning the result of running the function. Note this restricts the keys in the state to only those that the function reads
burr/core/application.py:161
↓ 5 callersMethod_set_state
(self, new_state: State[ApplicationStateType])
burr/core/application.py:2027
↓ 5 callersFunction_sign_artifact
Sign artifact with GPG (unless skipped) and create SHA512 checksum.
scripts/apache_release.py:261
↓ 5 callersFunction_validate_keys
(model: Type[pydantic.BaseModel], keys: List[str], fn: Callable)
burr/integrations/pydantic.py:157
↓ 5 callersMethodacall_post
(self, app, exc)
burr/core/application.py:726
↓ 5 callersMethodapply_operation
Applies a given operation to the state, returning a new state
burr/core/state.py:302
↓ 5 callersMethodcall_post
(self, app, exc)
burr/core/application.py:699
↓ 5 callersMethodcopy
(self)
burr/core/persistence.py:349
↓ 5 callersMethodcopy
(self)
burr/integrations/persisters/b_aiosqlite.py:56
↓ 5 callersFunctionfrom_value
Indicates that an input should come from a literal (variable/constant) value. Use this if you just want to fix a parameter into the Hamilton DAG.
burr/integrations/hamilton.py:67
↓ 5 callersFunctiongetActionStatus
(action: Step)
telemetry/ui/src/utils.tsx:28
↓ 5 callersMethodinit
(self)
burr/tracking/s3client.py:217
↓ 5 callersFunctionisCurrent
(href: string, linkType: string)
telemetry/ui/src/components/nav/appcontainer.tsx:175
↓ 5 callersFunctionisString
(value: any)
telemetry/ui/src/api/core/request.ts:37
↓ 5 callersMethodis_event_driven
Check if this backend is configured for event-driven updates.
burr/tracking/server/s3/backend.py:849
↓ 5 callersFunctionmerge_to_state
Merges a pydantic model that is a subset of the new state back into the state TODO -- implement TODO -- consider validating that the entire st
burr/integrations/pydantic.py:102
↓ 5 callersFunctionresolve
( options: ApiRequestOptions, resolver?: T | Resolver<T> )
telemetry/ui/src/api/core/request.ts:153
↓ 5 callersFunctionsample_application
( project_name: str, log_dir: str, app_id: str, broken: bool = False, spawn_from: Tuple[Op
tests/tracking/test_local_tracking_client.py:54
↓ 5 callersFunctionuser_message
(content: str)
examples/adaptive-crag/application.py:62
↓ 5 callersMethodvalidate_correct_async_use
Validates that the application is meant to run async. This validation is performed in synchronous application methods.
burr/core/application.py:2156
↓ 4 callersMethod__init__
Represents an input action -- this reads something from an input then writes that directly to state. This is a convenience class for when you
burr/core/action.py:688
↓ 4 callersFunction_arun_function
Runs a function, returning the result of running the function. Async version of the above.
burr/core/application.py:187
↓ 4 callersFunction_fail_at_random
()
tests/test_end_to_end.py:114
↓ 4 callersMethod_get_annotation_path
(self, project_id: str)
burr/tracking/server/backend.py:305
↓ 4 callersFunction_get_app_spec
Computes the backend spec from the current backend configuration.
burr/tracking/server/run.py:156
↓ 4 callersMethod_increment_sequence_id
(self)
burr/core/application.py:2105
↓ 4 callersFunction_parse_sqs_message_events
Parse EventBridge-wrapped or native S3 notification bodies from SQS. Returns None if the format is not recognized. Multiple S3 records in one
burr/tracking/server/s3/backend.py:208
↓ 4 callersMethod_should_halt_iterate
Internal utility function to determine whether or not to halt during iteration
burr/core/application.py:1209
↓ 4 callersMethod_update_internal_state_value
Updates the internal state values of the new state.
burr/core/application.py:1006
↓ 4 callersFunction_validate_actions
(actions: Optional[List[Action]])
burr/core/graph.py:41
↓ 4 callersFunction_validate_and_extract_signature_types
( fn: PydanticActionFunction, )
burr/integrations/pydantic.py:123
↓ 4 callersFunction_validate_transitions
( transitions: Optional[List[Tuple[str, str, Condition]]], actions: Set[str] )
burr/core/graph.py:57
↓ 4 callersFunction_validate_version
Validate that requested version matches pyproject.toml.
scripts/apache_release.py:210
↓ 4 callersFunction_verify_project_root
Verify script is running from project root.
scripts/apache_release.py:193
↓ 4 callersMethodaiterate
Returns a generator that calls step() in a row, enabling you to see the state of the system as it updates. This is the asynchronous version so
burr/core/application.py:1301
↓ 4 callersFunctionarealize
Realize an async generator or async iterable to a list. :param maybe_async_generator: async generator or async iterable :return: list of item
burr/common/async_utils.py:86
↓ 4 callersFunctionasync_gen
()
tests/common/test_async_utils.py:36
↓ 4 callersFunctionasyncify_generator
Convert a sync generator to an async generator. :param generator: sync generator :return: async generator
burr/common/async_utils.py:70
↓ 4 callersFunctioncreate_application
( old_app_id: Optional[str], new_app_id: str, old_sequence_id: Optional[int], max_count: int )
tests/tracking/test_local_tracking_client.py:334
↓ 4 callersMethodfrom_pointer
(pointer: Optional[burr_types.ParentPointer])
burr/tracking/common/models.py:97
↓ 4 callersFunctiongen
()
examples/typed-state/server.py:82
↓ 4 callersMethodget
(self)
burr/core/action.py:1110
↓ 4 callersMethodgetAnnotationsApiV0ProjectIdAnnotationsGet
* Get Annotations * @param projectId * @param appId * @param partitionKey * @param stepSequenceId * @returns AnnotationOut Successful R
telemetry/ui/src/api/services/DefaultService.ts:220
↓ 4 callersMethodgetAppSpecApiV0MetadataAppSpecGet
* Get App Spec * @returns BackendSpec Successful Response * @throws ApiError
telemetry/ui/src/api/services/DefaultService.ts:60
↓ 4 callersMethodgetApplicationLogsApiV0ProjectIdAppIdPartitionKeyAppsGet
* Get Application Logs * Lists steps for a given App. * TODO: add streaming capabilities for bi-directional communication * TODO: add paginat
telemetry/ui/src/api/services/DefaultService.ts:133
↓ 4 callersFunctionget_state
()
burr/integrations/streamlit.py:114
↓ 4 callersMethodincrement
(self, **updates: int)
burr/core/state.py:406
↓ 4 callersMethodis_async
This says whether or not the action is async. Note you have to override this if you have async tasks and want to use asyncio.gather on them. O
burr/core/parallelism.py:311
↓ 4 callersMethoditerate
Returns a generator that calls step() in a row, enabling you to see the state of the system as it updates. Note this returns a generator, and
burr/core/application.py:1255
↓ 4 callersMethodload
Loads the state for a given app_id :param partition_key: the partition key. Note this could be None, but it's up to the persistor to whether
burr/core/persistence.py:59
↓ 4 callersMethodload
Load the state data for a given partition key, app id, and sequence id. If the sequence id is not given, it will be looked up in the Redis da
burr/integrations/persisters/b_redis.py:114
↓ 4 callersMethodload
( self, partition_key: str, app_id: Optional[str], sequence_id: Optional[int] = None, **kwargs )
tests/tracking/test_local_tracking_client.py:179
↓ 4 callersMethodlog_events
(self, events: List[Tuple[str, EventType]])
burr/tracking/s3client.py:273
↓ 4 callersMethodpass_through
Instantiates a streaming result container that just passes through the given results This is to be used internally -- it allows us to wrap non
burr/core/action.py:1037
↓ 4 callersFunctionprimitive
(value: any)
telemetry/ui/src/components/routes/app/DataView.tsx:314
↓ 4 callersFunctionregister_field_serde
Registers a custom serializer + deserializer for a field globally. This is useful for really controlling how a field is serialized and deserializ
burr/core/state.py:35
↓ 4 callersMethodrun
(self, state: State, **run_kwargs)
tests/core/test_application.py:113
↓ 4 callersMethodrun
(self, state: State, increment_by: int, __context: ApplicationContext)
examples/hello-world-counter/application_classbased.py:37
↓ 4 callersFunctionsample_async_generator
(chars: str)
tests/core/test_action.py:841
↓ 4 callersFunctionsample_generator
(chars: str)
tests/core/test_action.py:757
↓ 4 callersMethodspawn
(self, name: str)
burr/visibility/tracing.py:42
↓ 4 callersMethodstream_run_and_update
Streaming version of the run and update function. This return type is a generator that streams in a result, has no "send" value, and r
burr/core/action.py:1239
↓ 4 callersFunctionsync_gen
()
tests/common/test_async_utils.py:24
↓ 4 callersMethodupdate
(self, result: dict, state: State)
burr/integrations/bedrock.py:363
↓ 4 callersFunctionupdate_state
(new_state: AppState)
burr/integrations/streamlit.py:110
↓ 4 callersMethodupdate_state
Updates state -- this is meant to be called if you need to do anything with the state. For example: 1. Reset it (after going through a
burr/core/application.py:2033
↓ 4 callersMethodwith_spawning_parent
Sets the 'spawning' parent application that created this app. This is used for tracking purposes. Doing this creates a parent/child relationsh
burr/core/application.py:2540
↓ 3 callersMethod__anext__
Moves to the next state in the streaming result
burr/core/action.py:1172
↓ 3 callersMethod__init__
( self, model_id: str, input_mapper: StateToPromptMapper, reads: list[str],
burr/integrations/bedrock.py:109
↓ 3 callersFunction_check_git_working_tree
Check git working tree status and warn if dirty.
scripts/apache_release.py:224
← previousnext →101–200 of 2,698, ranked by callers