Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Adds docs to local backend class on how to change path

Stefan Krawczyk34c68fec1091
diff --git a/burr/tracking/server/backend.py b/burr/tracking/server/backend.py
index 5dcbc22d..51acf829 100644
--- a/burr/tracking/server/backend.py
+++ b/burr/tracking/server/backend.py
@@ -189,9 +189,10 @@ DEFAULT_PATH = os.path.expanduser("~/.burr")
class LocalBackend(BackendBase):
- """Quick implementation of a local backend for testing purposes. This is not a production backend."""
+ """Quick implementation of a local backend for testing purposes. This is not a production backend.
- # TODO -- make this configurable through an env variable
+ To override the path, set a `burr_path` environment variable to the path you want to use.
+ """
def __init__(self, path: str = DEFAULT_PATH):
self.path = path