lamindb_setup.init¶
- lamindb_setup.init(*, storage, name=None, db=None, schema=None, _test=False)¶
Create and load a LaminDB instance.
- Parameters:
storage (lamindb.core.types.UPathStr) – Either
"create-s3"
, local or remote folder ("s3://..."
or"gs://..."
).name (
str
|None
, default:None
) – Instance name.db (
MultiHostUrl
|None
, default:None
) – Database connection url, do not pass for SQLite.schema (
str
|None
, default:None
) – Comma-separated string of schema modules. None if not set.
- Return type:
None