Skip to content

Commit

Permalink
♻️ Enable setting storage uid prior to instance init
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Sep 20, 2024
1 parent d2cfe8b commit 7f92c32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lamindb_setup/core/_settings_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def init_storage(
raise ValueError(
'Please pass a folder name that does not end or contain ".lamindb"'
)
uid = base62(12)
uid = os.getenv("LAMINDB_STORAGE_UID_INIT")
if uid is None:
uid = base62(12)
region = None
lamin_env = os.getenv("LAMIN_ENV")
if root_str.startswith("create-s3"):
Expand Down

0 comments on commit 7f92c32

Please sign in to comment.