diff --git a/lamindb_setup/_connect_instance.py b/lamindb_setup/_connect_instance.py index 973f4b1b..a88d263f 100644 --- a/lamindb_setup/_connect_instance.py +++ b/lamindb_setup/_connect_instance.py @@ -12,6 +12,7 @@ from ._migrate import check_whether_migrations_in_sync from ._silence_loggers import silence_loggers from .core._hub_core import connect_instance as load_instance_from_hub +from .core._hub_core import connect_instance_new as load_instance_from_hub_edge from .core._hub_utils import ( LaminDsn, LaminDsnModel, @@ -126,7 +127,10 @@ def _connect_instance( # on the hub # do not call hub if the user is anonymous if owner != "anonymous": - hub_result = load_instance_from_hub(owner=owner, name=name) + if settings.user.handle in {"Koncopd", "sunnyosun", "falexwolf"}: + hub_result = load_instance_from_hub_edge(owner=owner, name=name) + else: + hub_result = load_instance_from_hub(owner=owner, name=name) else: hub_result = "anonymous-user" # if hub_result is not a string, it means it made a request