MCPcopy Create free account

hub / github.com/apache/burr / functions

Functions2,698 in github.com/apache/burr

↓ 3 callersFunction_collect_all_artifacts
Collect all artifacts for upload.
scripts/apache_release.py:675
↓ 3 callersMethod_create_app_builder
(self, parent_context: ApplicationIdentifiers)
burr/core/parallelism.py:106
↓ 3 callersMethod_extract_inputs_overrides
Extracts the inputs and overrides from the state.
burr/integrations/hamilton.py:152
↓ 3 callersFunction_fail
(msg: str)
scripts/ci_smoke_server.py:61
↓ 3 callersFunction_get_application
Quick tool to get the application -- caches it
examples/hello-world-counter/server.py:51
↓ 3 callersFunction_get_application
Quick tool to get the application -- caches it
examples/streaming-fastapi/server.py:68
↓ 3 callersFunction_get_application
Quick tool to get the application -- caches it
examples/multi-modal-chatbot/server.py:65
↓ 3 callersFunction_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 callersFunction_get_git_root
()
burr/cli/__main__.py:76
↓ 3 callersFunction_get_openai_client
()
examples/streaming-overview/application.py:47
↓ 3 callersFunction_get_openai_client
()
examples/streaming-overview/async_application.py:48
↓ 3 callersFunction_get_openai_client
()
examples/tracing-and-spans/application.py:52
↓ 3 callersFunction_get_openai_client
()
examples/multi-modal-chatbot/application.py:59
↓ 3 callersMethod_initialize_graph_builder
(self)
burr/core/application.py:2348
↓ 3 callersFunction_minimal_backend
(**kwargs)
tests/tracking/test_bip0042_s3_buffering.py:37
↓ 3 callersFunction_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 callersFunction_raise_fn_return_validation_error
(output: Any, action_name: str)
burr/core/application.py:103
↓ 3 callersFunction_run_through
This advances the state machine, moving through to the next 'halting' point
examples/email-assistant/server.py:117
↓ 3 callersMethod_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 callersMethod_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 callersFunction_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 callersMethod_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 callersMethod_validate
(self, state: State)
burr/core/action.py:478
↓ 3 callersFunction_validate_start
(start: Optional[str], actions: Set[str])
burr/core/application.py:2188
↓ 3 callersFunctionapplyDecimalPlaces
(num: number)
telemetry/ui/src/components/routes/app/InsightsView.tsx:98
↓ 3 callersFunctionassert_set
(value: Optional[Any], field: str, method: str)
burr/core/validation.py:28
↓ 3 callersMethodcall
(self, key, *args, **kwargs)
burr/core/serde.py:60
↓ 3 callersMethodcall_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 callersMethodcatch
( onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null )
telemetry/ui/src/api/core/CancelablePromise.ts:117
↓ 3 callersFunctioncd
(path)
burr/cli/__main__.py:115
↓ 3 callersFunctionchat_message
(role: str, content: str)
examples/adaptive-crag/application.py:54
↓ 3 callersFunctionconvert_to_otel_attribute
(attr: Any)
burr/integrations/opentelemetry.py:98
↓ 3 callersFunctioncreate_full_subgraph_async
(identifying_number: int = 0)
tests/core/test_parallelism.py:195
↓ 3 callersMethodcreate_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 callersMethodcreate_table
Helper function to create the table where things are stored.
burr/integrations/persisters/b_psycopg2.py:110
↓ 3 callersMethodfrom_empty
(cls, app: Application)
burr/integrations/streamlit.py:85
↓ 3 callersMethodfrom_values
Creates a new instance of the RedisBasePersister from passed in values.
burr/integrations/persisters/b_redis.py:63
↓ 3 callersMethodget
(self)
burr/core/action.py:1205
↓ 3 callersMethodgetAppsApiV0ProjectIdPartitionKeyAppsGet
* 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 callersFunctiongetEmptyObservation
()
telemetry/ui/src/components/routes/app/AnnotationsView.tsx:798
↓ 3 callersFunctiongetLabelForTarget
(target: AnnotationTarget)
telemetry/ui/src/components/routes/app/AnnotationsView.tsx:333
↓ 3 callersFunctiongetUniqueAttributeID
(attribute: AttributeModel)
telemetry/ui/src/utils.tsx:38
↓ 3 callersMethodget_storage_path
(cls, project, storage_dir)
burr/tracking/client.py:287
↓ 3 callersMethodinitialize
Creates the table
burr/integrations/persisters/b_psycopg2.py:133
↓ 3 callersFunctioninputUniqueID
(action: ActionModel, input: string)
telemetry/ui/src/components/routes/app/GraphView.tsx:258
↓ 3 callersFunctionisBlob
(value: any)
telemetry/ui/src/api/core/request.ts:45
↓ 3 callersFunctionisDefined
( value: T | null | undefined )
telemetry/ui/src/api/core/request.ts:31
↓ 3 callersFunctionisStringWithValue
(value: any)
telemetry/ui/src/api/core/request.ts:41
↓ 3 callersMethodlist_app_ids
Returns list of app IDs for a given primary key
burr/core/persistence.py:75
↓ 3 callersMethodlog_object
( self, *path_within_project: str, data: Union[pydantic.BaseModel, List[pydantic.BaseM
burr/tracking/s3client.py:298
↓ 3 callersFunctionprocess
(key: string, value: any)
telemetry/ui/src/api/core/request.ts:78
↓ 3 callersFunctionpydantic_action
See docstring for @action.pydantic
burr/integrations/pydantic.py:192
↓ 3 callersFunctionquery_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 callersFunctionrender_chat_message
(chat_item: dict)
examples/streaming-overview/streamlit_app.py:27
↓ 3 callersFunctionrender_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 callersMethodrun
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 callersFunctionrun_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 callersFunctionset_slider_to_current
()
burr/integrations/streamlit.py:263
↓ 3 callersFunctionsetup_logging
Helper function to setup logging to console. :param log_level: Log level to use when logging
burr/log_setup.py:33
↓ 3 callersFunctionstr_partition_key
(partition_key: Optional[str])
burr/tracking/s3client.py:126
↓ 3 callersMethodstream_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 callersMethodupdate
(self, result: dict, state: State)
tests/core/test_graph.py:52
↓ 3 callersMethodupdate
(self, result: dict, state: State)
examples/hello-world-counter/application_classbased.py:55
↓ 3 callersFunctionuseLocationParams
()
telemetry/ui/src/utils.tsx:42
↓ 3 callersMethodwith_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 callersMethod__enter__
(self)
burr/core/persistence.py:394
↓ 2 callersMethod__exit__
(self, exc_type, exc_value, traceback)
burr/core/persistence.py:397
↓ 2 callersMethod__init__
(self, unique_id: str)
tests/core/test_application.py:3542
↓ 2 callersFunction_allowed_project_name
(project_name: str, on_windows: bool)
burr/tracking/client.py:111
↓ 2 callersFunction_assert_fields_match
(field_original: FieldInfo, field_new: FieldInfo, made_optional: bool)
tests/integrations/test_burr_pydantic.py:66
↓ 2 callersMethod_astep
(self, inputs: Optional[Dict[str, Any]], _run_hooks: bool = True)
burr/core/application.py:1085
↓ 2 callersFunction_aws_region
()
examples/integrations/bedrock/application.py:42
↓ 2 callersMethod_build_common
(self)
burr/core/application.py:2743
↓ 2 callersFunction_build_sdist_from_git
Build source distribution from git using flit.
scripts/apache_release.py:415
↓ 2 callersFunction_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 callersFunction_compact_hash
Compact the hash to a string that's safe to pass around.
examples/rag-lancedb-ingestion/utils.py:39
↓ 2 callersFunction_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 callersFunction_create_git_archive
Create git archive tar.gz for voting.
scripts/apache_release.py:360
↓ 2 callersFunction_create_sub_application
Utility to create sub-application -- note
examples/recursive/application.py:104
↓ 2 callersFunction_default_model_id
()
examples/integrations/bedrock/application.py:35
↓ 2 callersMethod_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 callersMethod_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 callersMethod_ensure_bind
(self, fn, *args, **kwargs)
burr/visibility/tracing.py:420
↓ 2 callersMethod_enter
(self)
burr/visibility/tracing.py:186
↓ 2 callersFunction_exercise_agent
Helper function to exercise the agent code.
examples/multi-agent-collaboration/lcel/application.py:125
↓ 2 callersMethod_exit
(self)
burr/visibility/tracing.py:202
↓ 2 callersFunction_format_BASE_ERROR_MESSAGE
Formats the error string, given that we're inside an action
burr/core/application.py:289
↓ 2 callersFunction_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 callersMethod_get_auto_attributes
(self, fn: FNType)
burr/visibility/tracing.py:430
↓ 2 callersFunction_get_openai_client
()
examples/streaming-fastapi/application.py:50
↓ 2 callersFunction_get_openai_client
()
examples/opentelemetry/application.py:54
↓ 2 callersFunction_get_openai_client
()
examples/email-assistant/application.py:30
↓ 2 callersMethod_get_span_name
(self, fn: FNType)
burr/visibility/tracing.py:444
↓ 2 callersMethod_identify_state_to_load
Helper to determine which state to load.
burr/core/application.py:2611
↓ 2 callersMethod_init_bedrock_core
( self, model_id: str, input_mapper: StateToPromptMapper, reads: list[str],
burr/integrations/bedrock.py:188
↓ 2 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_load_metadata
(self, metadata_path: str)
burr/tracking/server/backend.py:452
↓ 2 callersMethod_load_project_annotations
(self, project_id: str)
burr/tracking/server/backend.py:308
← previousnext →201–300 of 2,698, ranked by callers