lamindb.connect#
- lamindb.connect(slug, *, db=None, storage=None, _raise_not_reachable_error=True, _test=False)#
Connect to instance.
- Parameters:
slug (
str
) – The instance slug account_handle/instance_name or URL. If the instance is owned by you, it suffices to pass the instance name.db (
Optional
[str
], default:None
) – Load the instance with an updated database URL.storage (
Union
[str
,Path
,None
], default:None
) – Load the instance with an updated default storage.
- Return type:
Union
[str
,Tuple
,None
]