Skip to content

Commit

Permalink
Adds docs to local backend class on how to change path
Browse files Browse the repository at this point in the history
  • Loading branch information
skrawcz authored and elijahbenizzy committed Sep 4, 2024
1 parent 8f9e503 commit 34c68fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions burr/tracking/server/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ def get_uri(project_id: str) -> str:


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
Expand Down

0 comments on commit 34c68fe

Please sign in to comment.