Skip to content

Commit

Permalink
πŸ’š Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jul 25, 2024
1 parent e3d419c commit 7b28ba7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lamindb_setup/core/_hub_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ def _select_storage(
# if the request is agnostic of the instance, that's alright,
# we'll update the instance_id with what's stored in the hub
ssettings._instance_id = UUID(existing_storage["instance_id"])

Check warning on line 110 in lamindb_setup/core/_hub_core.py

View check run for this annotation

Codecov / codecov/patch

lamindb_setup/core/_hub_core.py#L110

Added line #L110 was not covered by tests
ssettings._uuid_ = UUID(existing_storage["id"])
if update_uid:
ssettings._uid = existing_storage["lnid"]
else:
assert ssettings._uid == existing_storage["lnid"]
ssettings._uuid_ = UUID(existing_storage["id"])
if update_uid:
ssettings._uid = existing_storage["lnid"]
else:
assert ssettings._uid == existing_storage["lnid"]
return True


Expand Down

0 comments on commit 7b28ba7

Please sign in to comment.