lamindb.connect

lamindb.connect(slug, *, db=None, storage=None, _raise_not_found_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 (str | None, default: None) – Load the instance with an updated database URL.

  • storage (str | Path | None, default: None) – Load the instance with an updated default storage.

Return type:

str | tuple | None