Skip to content

Commit

Permalink
πŸ’š Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun committed Oct 10, 2024
1 parent fec1776 commit 5397611
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lamindb/_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ def using(
owner, name = get_owner_name_from_identifier(instance)
settings_file = instance_settings_file(name, owner)
cache_filepath = ln_setup.settings.cache_dir / f"instance--{owner}--{name}--uid.txt"
print(cache_filepath)
if not settings_file.exists():
result = connect_instance_hub(owner=owner, name=name)
if isinstance(result, str):
Expand All @@ -404,7 +403,6 @@ def using(
else:
isettings = load_instance_settings(settings_file)
db = isettings.db
print(isettings)
cache_filepath.write_text(f"{isettings.uid}\n{','.join(isettings.schema)}") # type: ignore
add_db_connection(db, instance)
return QuerySet(model=cls, using=instance)
Expand Down

0 comments on commit 5397611

Please sign in to comment.