Skip to content

Commit

Permalink
♻️ Refactor lamindb
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jan 1, 2025
1 parent 8761094 commit 238bb46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lamindb_setup/_init_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def get_schema_module_name(schema_name, raise_import_error: bool = True) -> str


def register_storage_in_instance(ssettings: StorageSettings):
from lamidb.base.users import current_user_id
from lamindb.models import Storage
from lamindb.users import current_user_id

from .core.hashing import hash_and_encode_as_b62

Expand Down
2 changes: 1 addition & 1 deletion lamindb_setup/core/_settings_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __repr__(self) -> str:
@property
def id(self):
"""Integer id valid in current intance."""
from lamindb.users import current_user_id
from lamidb.base.users import current_user_id

# there is no cache needed here because current_user_id()
# has its own cache
Expand Down

0 comments on commit 238bb46

Please sign in to comment.