Skip to content

Commit

Permalink
🎨 Add validation
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Sep 20, 2024
1 parent 7f92c32 commit cba6d21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lamindb_setup/core/_settings_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ def init_storage(
uid = os.getenv("LAMINDB_STORAGE_UID_INIT")
if uid is None:
uid = base62(12)
else:
# this means we constructed a hosted location of shape s3://bucket-name/uid
# within LaminHub
assert root_str.endswith(uid)
region = None
lamin_env = os.getenv("LAMIN_ENV")
if root_str.startswith("create-s3"):
Expand Down

0 comments on commit cba6d21

Please sign in to comment.