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
↓ 3 callers
Function
_collect_all_artifacts
Collect all artifacts for upload.
scripts/apache_release.py:675
↓ 3 callers
Method
_create_app_builder
(self, parent_context: ApplicationIdentifiers)
burr/core/parallelism.py:106
↓ 3 callers
Method
_extract_inputs_overrides
Extracts the inputs and overrides from the state.
burr/integrations/hamilton.py:152
↓ 3 callers
Function
_fail
(msg: str)
scripts/ci_smoke_server.py:61
↓ 3 callers
Function
_get_application
Quick tool to get the application -- caches it
examples/hello-world-counter/server.py:51
↓ 3 callers
Function
_get_application
Quick tool to get the application -- caches it
examples/streaming-fastapi/server.py:68
↓ 3 callers
Function
_get_application
Quick tool to get the application -- caches it
examples/multi-modal-chatbot/server.py:65
↓ 3 callers
Function
_get_application
Utility to get the application. Depending on your use-case you might want to reload from state every time (or consider cache invalidation)
examples/email-assistant/server.py:93
↓ 3 callers
Function
_get_git_root
()
burr/cli/__main__.py:76
↓ 3 callers
Function
_get_openai_client
()
examples/streaming-overview/application.py:47
↓ 3 callers
Function
_get_openai_client
()
examples/streaming-overview/async_application.py:48
↓ 3 callers
Function
_get_openai_client
()
examples/tracing-and-spans/application.py:52
↓ 3 callers
Function
_get_openai_client
()
examples/multi-modal-chatbot/application.py:59
↓ 3 callers
Method
_initialize_graph_builder
(self)
burr/core/application.py:2348
↓ 3 callers
Function
_minimal_backend
(**kwargs)
tests/tracking/test_bip0042_s3_buffering.py:37
↓ 3 callers
Function
_query_s3_file
Query S3 file with buffering to handle large files. BIP-0042: Uses SpooledTemporaryFile to buffer content, spilling to disk if the file excee
burr/tracking/server/s3/backend.py:71
↓ 3 callers
Function
_raise_fn_return_validation_error
(output: Any, action_name: str)
burr/core/application.py:103
↓ 3 callers
Function
_run_through
This advances the state machine, moving through to the next 'halting' point
examples/email-assistant/server.py:117
↓ 3 callers
Method
_set_async_state_persister
Inits the asynchronous with_state_persister to save the state (local/DB/custom implementations). Moved here to be able to chain methods and de
burr/core/application.py:2586
↓ 3 callers
Method
_set_sync_state_persister
Inits the synchronous with_state_persister to save the state (local/DB/custom implementations). Moved here to mimic the async case.
burr/core/application.py:2561
↓ 3 callers
Function
_state_update
Performs a state update for an action -- allowing for deletes. This is suboptimal -- we should not be observing the state, we should be using the
burr/core/application.py:199
↓ 3 callers
Method
_step
Internal-facing version of step. This is the same as step, but with an additional parameter to hide hook execution so async can leverage it.
burr/core/application.py:945
↓ 3 callers
Method
_validate
(self, state: State)
burr/core/action.py:478
↓ 3 callers
Function
_validate_start
(start: Optional[str], actions: Set[str])
burr/core/application.py:2188
↓ 3 callers
Function
applyDecimalPlaces
(num: number)
telemetry/ui/src/components/routes/app/InsightsView.tsx:98
↓ 3 callers
Function
assert_set
(value: Optional[Any], field: str, method: str)
burr/core/validation.py:28
↓ 3 callers
Method
call
(self, key, *args, **kwargs)
burr/core/serde.py:60
↓ 3 callers
Method
call_all_lifecycle_hooks_async
Calls all the lifecycle hooks in this group, by hook name (stage). :param hook_name: Name of the hook :param kwargs: Keyword argument
burr/lifecycle/internal.py:185
↓ 3 callers
Method
catch
( onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null )
telemetry/ui/src/api/core/CancelablePromise.ts:117
↓ 3 callers
Function
cd
(path)
burr/cli/__main__.py:115
↓ 3 callers
Function
chat_message
(role: str, content: str)
examples/adaptive-crag/application.py:54
↓ 3 callers
Function
convert_to_otel_attribute
(attr: Any)
burr/integrations/opentelemetry.py:98
↓ 3 callers
Function
create_full_subgraph_async
(identifying_number: int = 0)
tests/core/test_parallelism.py:195
↓ 3 callers
Method
create_initial
Creates the initial action span for an action. This should be only called if the current action span is none. :param action:
burr/visibility/tracing.py:64
↓ 3 callers
Method
create_table
Helper function to create the table where things are stored.
burr/integrations/persisters/b_psycopg2.py:110
↓ 3 callers
Method
from_empty
(cls, app: Application)
burr/integrations/streamlit.py:85
↓ 3 callers
Method
from_values
Creates a new instance of the RedisBasePersister from passed in values.
burr/integrations/persisters/b_redis.py:63
↓ 3 callers
Method
get
(self)
burr/core/action.py:1205
↓ 3 callers
Method
getAppsApiV0ProjectIdPartitionKeyAppsGet
* Get Apps * Gets all apps visible by the user * * :param request: FastAPI request * :param project_id: project name * :return: a list
telemetry/ui/src/api/services/DefaultService.ts:95
↓ 3 callers
Function
getEmptyObservation
()
telemetry/ui/src/components/routes/app/AnnotationsView.tsx:798
↓ 3 callers
Function
getLabelForTarget
(target: AnnotationTarget)
telemetry/ui/src/components/routes/app/AnnotationsView.tsx:333
↓ 3 callers
Function
getUniqueAttributeID
(attribute: AttributeModel)
telemetry/ui/src/utils.tsx:38
↓ 3 callers
Method
get_storage_path
(cls, project, storage_dir)
burr/tracking/client.py:287
↓ 3 callers
Method
initialize
Creates the table
burr/integrations/persisters/b_psycopg2.py:133
↓ 3 callers
Function
inputUniqueID
(action: ActionModel, input: string)
telemetry/ui/src/components/routes/app/GraphView.tsx:258
↓ 3 callers
Function
isBlob
(value: any)
telemetry/ui/src/api/core/request.ts:45
↓ 3 callers
Function
isDefined
( value: T | null | undefined )
telemetry/ui/src/api/core/request.ts:31
↓ 3 callers
Function
isStringWithValue
(value: any)
telemetry/ui/src/api/core/request.ts:41
↓ 3 callers
Method
list_app_ids
Returns list of app IDs for a given primary key
burr/core/persistence.py:75
↓ 3 callers
Method
log_object
( self, *path_within_project: str, data: Union[pydantic.BaseModel, List[pydantic.BaseM
burr/tracking/s3client.py:298
↓ 3 callers
Function
process
(key: string, value: any)
telemetry/ui/src/api/core/request.ts:78
↓ 3 callers
Function
pydantic_action
See docstring for @action.pydantic
burr/integrations/pydantic.py:192
↓ 3 callers
Function
query_openai
Sends a query to the OpenAI API and retrieves the response. Args: system_instructions (str): Instructions for the system message.
examples/deep-researcher/application.py:52
↓ 3 callers
Function
render_chat_message
(chat_item: dict)
examples/streaming-overview/streamlit_app.py:27
↓ 3 callers
Function
render_explorer
Renders the entire explorer, including the state machine, the action, and the state/results. :param app_state: State of the app :return: None
burr/integrations/streamlit.py:267
↓ 3 callers
Method
run
Runs a hamilton action, using the driver to execute the hamilton DAG. :param state: The state to use :return: The results of the hami
burr/integrations/hamilton.py:183
↓ 3 callers
Function
run_my_agent
Runs the agent with the given input audio (in this case a string transcription...). :param input_audio: we fake it here, and ask for a string...
examples/pytest/some_actions.py:174
↓ 3 callers
Function
set_slider_to_current
()
burr/integrations/streamlit.py:263
↓ 3 callers
Function
setup_logging
Helper function to setup logging to console. :param log_level: Log level to use when logging
burr/log_setup.py:33
↓ 3 callers
Function
str_partition_key
(partition_key: Optional[str])
burr/tracking/s3client.py:126
↓ 3 callers
Method
stream_run
Streaming action ``stream_run`` is different than standard action run. It: 1. streams in an intermediate result (the dict output) 2. y
burr/core/action.py:913
↓ 3 callers
Method
update
(self, result: dict, state: State)
tests/core/test_graph.py:52
↓ 3 callers
Method
update
(self, result: dict, state: State)
examples/hello-world-counter/application_classbased.py:55
↓ 3 callers
Function
useLocationParams
()
telemetry/ui/src/utils.tsx:42
↓ 3 callers
Method
with_parallel_executor
Assigns a default executor to be used for recursive/parallel sub-actions. This effectively allows for executing multiple Burr apps in parallel
burr/core/application.py:2321
↓ 2 callers
Method
__enter__
(self)
burr/core/persistence.py:394
↓ 2 callers
Method
__exit__
(self, exc_type, exc_value, traceback)
burr/core/persistence.py:397
↓ 2 callers
Method
__init__
(self, unique_id: str)
tests/core/test_application.py:3542
↓ 2 callers
Function
_allowed_project_name
(project_name: str, on_windows: bool)
burr/tracking/client.py:111
↓ 2 callers
Function
_assert_fields_match
(field_original: FieldInfo, field_new: FieldInfo, made_optional: bool)
tests/integrations/test_burr_pydantic.py:66
↓ 2 callers
Method
_astep
(self, inputs: Optional[Dict[str, Any]], _run_hooks: bool = True)
burr/core/application.py:1085
↓ 2 callers
Function
_aws_region
()
examples/integrations/bedrock/application.py:42
↓ 2 callers
Method
_build_common
(self)
burr/core/application.py:2743
↓ 2 callers
Function
_build_sdist_from_git
Build source distribution from git using flit.
scripts/apache_release.py:415
↓ 2 callers
Function
_build_wheel_from_current_dir
Build wheel from current directory (matches what voters do). This is MUCH simpler than the old approach: - No temp directory extraction -
scripts/apache_release.py:566
↓ 2 callers
Function
_compact_hash
Compact the hash to a string that's safe to pass around.
examples/rag-lancedb-ingestion/utils.py:39
↓ 2 callers
Function
_create_dict_string
This is a utility function to create a string representation of a dict. This is the state that was passed into the function usually. This is usefu
burr/core/application.py:266
↓ 2 callers
Function
_create_git_archive
Create git archive tar.gz for voting.
scripts/apache_release.py:360
↓ 2 callers
Function
_create_sub_application
Utility to create sub-application -- note
examples/recursive/application.py:104
↓ 2 callers
Function
_default_model_id
()
examples/integrations/bedrock/application.py:35
↓ 2 callers
Method
_does_hook
Whether or not a hook is implemented by any of the adapters in this group. If this hook is not registered, this will raise a ValueError.
burr/lifecycle/internal.py:152
↓ 2 callers
Method
_ensure_applications_exist
Given the paths to update, ensure that all corresponding applications exist in the database. :param paths_to_update: :param project:
burr/tracking/server/s3/backend.py:467
↓ 2 callers
Method
_ensure_bind
(self, fn, *args, **kwargs)
burr/visibility/tracing.py:420
↓ 2 callers
Method
_enter
(self)
burr/visibility/tracing.py:186
↓ 2 callers
Function
_exercise_agent
Helper function to exercise the agent code.
examples/multi-agent-collaboration/lcel/application.py:125
↓ 2 callers
Method
_exit
(self)
burr/visibility/tracing.py:202
↓ 2 callers
Function
_format_BASE_ERROR_MESSAGE
Formats the error string, given that we're inside an action
burr/core/application.py:289
↓ 2 callers
Function
_get_application
Utility to get the application. Depending on your use-case you might want to reload from state every time (or consider cache invalidation)
examples/deep-researcher/server.py:61
↓ 2 callers
Method
_get_auto_attributes
(self, fn: FNType)
burr/visibility/tracing.py:430
↓ 2 callers
Function
_get_openai_client
()
examples/streaming-fastapi/application.py:50
↓ 2 callers
Function
_get_openai_client
()
examples/opentelemetry/application.py:54
↓ 2 callers
Function
_get_openai_client
()
examples/email-assistant/application.py:30
↓ 2 callers
Method
_get_span_name
(self, fn: FNType)
burr/visibility/tracing.py:444
↓ 2 callers
Method
_identify_state_to_load
Helper to determine which state to load.
burr/core/application.py:2611
↓ 2 callers
Method
_init_bedrock_core
( self, model_id: str, input_mapper: StateToPromptMapper, reads: list[str],
burr/integrations/bedrock.py:188
↓ 2 callers
Method
_init_state_from_persister
Initializes the state of the application. Either there is a loaded configuration provided or we use the default state to initialize.
burr/core/application.py:2631
↓ 2 callers
Method
_load_from_async_persister
Loads from the set async persister and into this current object. Mutates: - self.state - self.sequence_id - maybe
burr/core/application.py:2709
↓ 2 callers
Method
_load_from_sync_persister
Loads from the set sync persister and into this current object. Mutates: - self.state - self.sequence_id - maybe s
burr/core/application.py:2687
↓ 2 callers
Method
_load_metadata
(self, metadata_path: str)
burr/tracking/server/backend.py:452
↓ 2 callers
Method
_load_project_annotations
(self, project_id: str)
burr/tracking/server/backend.py:308
← previous
next →
201–300 of 2,698, ranked by callers