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
Method
__init__
( self, initial_values: Optional[Dict[str, Any]] = None, typing_system: Optional[Typin
burr/core/state.py:276
Method
__init__
(self)
burr/core/serde.py:50
Method
__init__
(self, reads: list[str], writes: list[str])
burr/core/implementations.py:30
Method
__init__
Initializes the graph builder.
burr/core/graph.py:283
Method
__init__
Represents an action in a state machine. This is the base class from which actions extend. Note that this class needs to have a name set after
burr/core/action.py:311
Method
__init__
Base condition class. Chooses keys to read from the state and a resolver function. If you want a condition that defaults to true, use Conditio
burr/core/action.py:390
Method
__init__
(self)
burr/core/action.py:432
Method
__init__
Represents a result action. This is purely a convenience class to pull data from state and give it out to the result. It does nothing to
burr/core/action.py:662
Method
__init__
(self)
burr/core/action.py:727
Method
__init__
Instantiates a function-based action with the given function, reads, and writes. The function must take in a state and return a tuple of (resu
burr/core/action.py:803
Method
__init__
Initializes a streaming result container. User will never call directly. :param streaming_result_generator: Generator of streaming results. N
burr/core/action.py:1056
Method
__init__
Initializes an async streaming result container. User will never call directly. :param streaming_result_generator: Generator of streaming res
burr/core/action.py:1144
Method
__init__
Instantiates a function-based streaming action with the given function, reads, and writes. The function must take in a state (and inputs) and
burr/core/action.py:1286
Method
__init__
Decorator to create a function-based action. This is user-facing. Note that, in the future, with typed state, we may not need this for
burr/core/action.py:1480
Method
__init__
Decorator to create a streaming function-based action. This is user-facing. If parameters are not bound, they will be interpreted as inputs a
burr/core/action.py:1544
Method
__init__
(self, persister: BaseStateSaver)
burr/core/persistence.py:217
Method
__init__
(self, persister: AsyncBaseStateSaver)
burr/core/persistence.py:240
Method
__init__
Constructor :param db_path: the path the DB will be stored. :param table_name: the table name to store things under. :param s
burr/core/persistence.py:359
Method
__init__
(self)
burr/core/persistence.py:615
Method
__init__
(self)
burr/core/persistence.py:668
Method
__init__
Create a Burr ``Action`` from a Haystack ``Component``. :param component: Haystack ``Component`` to wrap :param reads: State fields r
burr/integrations/haystack.py:42
Method
__init__
Creates a Ray executor -- remember to call ray.init() before running anything!
burr/integrations/ray.py:27
Method
__init__
(self, *args: Any, **kwargs: Any)
burr/integrations/bedrock.py:185
Method
__init__
( self, model_id: str, input_mapper: StateToPromptMapper, reads: list[str],
burr/integrations/bedrock.py:249
Method
__init__
( self, model_id: str, input_mapper: StateToPromptMapper, reads: list[str],
burr/integrations/bedrock.py:312
Method
__init__
( self, input_type: Type[StateInputType], output_type: Type[StateOutputType],
burr/integrations/pydantic.py:172
Method
__init__
(self, model_type: Type[StateModel])
burr/integrations/pydantic.py:399
Method
__init__
(self, notebook_env: NotebookEnvironment, **kwargs)
burr/integrations/notebook.py:132
Method
__init__
Creates a Hamilton action. Allows youy to specify: 1. How to wire state fields into hamilton inputs 2 How to wire hamilton outputs in
burr/integrations/hamilton.py:119
Method
__init__
Initializes an OpenTel adapter. Passes in a tracer_name or a tracer object, should only pass one. :param tracer_name: Name of the tra
burr/integrations/opentelemetry.py:180
Method
__init__
(self, burr_tracker: SyncTrackingClient)
burr/integrations/opentelemetry.py:337
Method
__init__
Initializes the MongoDBPersister class.
burr/integrations/persisters/b_mongodb.py:68
Method
__init__
Initializes the MongoDBBasePersister class. :param client: the mongodb client to use :param db_name: the name of the database to use
burr/integrations/persisters/b_pymongo.py:80
Method
__init__
Constructor :param connection: the connection to the PostgreSQL database (optional if pool is provided) :param pool: a connection poo
burr/integrations/persisters/b_asyncpg.py:172
Method
__init__
Initializes the RedisPersister class. :param connection: the redis connection object. :param serde_kwargs: serialization and deserial
burr/integrations/persisters/b_redis.py:81
Method
__init__
Initializes the AsyncRedisPersister class. :param connection: the redis connection object. :param serde_kwargs: serialization and des
burr/integrations/persisters/b_redis.py:262
Method
__init__
Initializes the RedisPersister class. This is deprecated. Use RedisBasePersister.from_values() instead. :param host: :param
burr/integrations/persisters/b_redis.py:386
Method
__init__
Constructor :param connection: the connection to the PostgreSQL database. :param table_name: the table name to store things under.
burr/integrations/persisters/b_psycopg2.py:88
Method
__init__
Constructor. NOTE: you are responsible to handle closing of the connection / teardown manually. To help, we provide a close() method.
burr/integrations/persisters/b_aiosqlite.py:115
Method
__init__
Instantiates a local tracking client. This will create the following directories, if they don't exist: #. The base directory (defaults to ~/.b
burr/tracking/client.py:174
Method
__init__
( self, project: str, bucket: str, region: str = None, endpoint_url: O
burr/tracking/s3client.py:175
Method
__init__
(self, path: str = DEFAULT_PATH)
burr/tracking/server/backend.py:302
Method
__init__
( self, s3_bucket: str, update_interval_milliseconds: int, aws_max_concurrency
burr/tracking/server/s3/backend.py:242
Method
__init__
(self, coro: Coroutine[Any, Any, Any])
burr/common/async_utils.py:46
Method
__init__
Initialiezs the ActionSpanTracer. :param action: :param span_name: :param lifecycle_adapters: :param span_dependencie
burr/visibility/tracing.py:123
Method
__init__
Instantiates a tracer factory. :param action: Action name :param lifecycle_adapters: Lifecycle adapters :param _context_var:
burr/visibility/tracing.py:302
Method
__init__
(self)
tests/test_end_to_end.py:50
Method
__init__
(self)
tests/test_end_to_end.py:422
Method
__init__
(self, identifying_number: int, name: str = "class_based_action")
tests/core/test_parallelism.py:87
Method
__init__
( self, events: List[RecursiveActionTracked], parent: Optional["RecursiveActionTracker
tests/core/test_parallelism.py:235
Method
__init__
(self, parent: Optional["DummyPersister"] = None)
tests/core/test_parallelism.py:1123
Method
__init__
( self, reads: list[str], writes: list[str], fn: Callable[..., dict],
tests/core/test_application.py:98
Method
__init__
( self, reads: list[str], writes: list[str], fn: Callable[..., Awaitable[dict]
tests/core/test_application.py:133
Method
__init__
(self)
tests/core/test_application.py:178
Method
__init__
(self)
tests/core/test_application.py:213
Method
__init__
(self)
tests/core/test_application.py:262
Method
__init__
(self)
tests/core/test_application.py:322
Method
__init__
(self)
tests/core/test_application.py:351
Method
__init__
(self)
tests/core/test_application.py:1038
Method
__init__
(self)
tests/core/test_application.py:3202
Method
__init__
(self)
tests/core/test_application.py:3754
Method
__init__
( self, reads: list[str], writes: list[str], fn: Callable[..., dict],
tests/core/test_graph.py:28
Method
__init__
(self, required_init: str, optional_init: str = "default")
tests/integrations/test_burr_haystack.py:33
Method
__init__
(self, required_init: str, optional_init: str = "default")
tests/integrations/test_burr_haystack.py:47
Method
__init__
(self, name, email)
tests/integrations/serde/test_pickle.py:23
Method
__init__
(self)
tests/tracking/test_common_models.py:23
Method
__init__
(self)
tests/tracking/test_local_tracking_client.py:327
Method
__init__
(self)
tests/visibility/test_tracing.py:194
Method
__init__
(self)
tests/visibility/test_tracing.py:291
Method
__init__
(self)
tests/visibility/test_tracing.py:403
Method
__init__
(self, tracer: TracerFactory)
examples/multi-agent-collaboration/hamilton/application.py:68
Method
__init__
(self, tracer: TracerFactory)
examples/multi-agent-collaboration/lcel/application.py:72
Method
__init__
(self, value)
examples/custom-serde/application.py:31
Method
__init__
(self, save_dir: str = "saved_images")
examples/image-telephone/application.py:57
Method
__init__
(self, save_dir: str = "saved_images")
examples/integrations/hamilton/image-telephone/application.py:43
Method
__init__
(self)
examples/pytest/conftest.py:26
Method
__init__
(self, sleep_time: float)
examples/other-examples/cowsay/application.py:36
Method
__invert__
(self)
burr/core/action.py:648
Method
__iter__
(self)
burr/core/state.py:460
Method
__iter__
(self)
burr/core/action.py:1090
Method
__len__
(self)
burr/core/state.py:457
Method
__or__
Combines two conditions with an OR operator. This will return a new condition that is the OR of the two conditions. To check if eithe
burr/core/action.py:600
Method
__post_init__
Sets up initial state for easy graph operations later
burr/core/graph.py:124
Method
__repr__
(self)
burr/core/state.py:471
Method
__repr__
(self)
burr/core/action.py:372
Method
__repr__
(self)
burr/core/action.py:593
Method
__setstate__
(self, state)
burr/core/persistence.py:604
Method
__setstate__
(self, state: dict)
burr/integrations/persisters/b_pymongo.py:215
Method
__setstate__
(self, state: dict)
burr/integrations/persisters/b_redis.py:216
Method
__setstate__
(self, state: dict)
burr/integrations/persisters/b_psycopg2.py:291
Method
__setstate__
(self, state)
burr/tracking/client.py:382
Method
__str__
(self)
burr/tracking/server/s3/models.py:53
Method
__str__
(self)
burr/tracking/server/s3/models.py:65
Method
__str__
(self)
burr/tracking/server/s3/models.py:76
Method
__str__
(self)
examples/instructor-gemini-flash/application.py:71
Method
__str__
(self)
examples/pytest/conftest.py:35
Method
__str__
(self)
examples/adaptive-crag/application.py:162
Method
__str__
(self)
examples/adaptive-crag/application.py:193
Function
_allowed_project_name
(project_name: str, on_windows: bool)
burr/tracking/s3client.py:100
Method
_arun_and_update
()
burr/core/parallelism.py:285
← previous
next →
1,001–1,100 of 2,698, ranked by callers