lamindb_setup.core.InstanceSettings¶
- class lamindb_setup.core.InstanceSettings(id, owner, name, storage, keep_artifacts_local=False, uid=None, db=None, schema=None, git_repo=None, is_on_hub=None)¶
Bases:
object
Instance settings.
Attributes¶
- db: str¶
Database connection string (URI).
- dialect: Literal['sqlite', 'postgresql']¶
SQL dialect.
- git_repo: str | None¶
Sync transforms with scripts in git repository.
- is_on_hub: bool¶
Is this instance on the hub?
- is_remote: bool¶
Boolean indicating if an instance has no local component.
- keep_artifacts_local: bool¶
Default to keeping artifacts local.
- name: str¶
Instance name.
- owner: str¶
Instance owner. A user or organization account handle.
- schema: set[str]¶
Schema modules in addition to core schema.
- slug: str¶
Unique semantic identifier of form
"{account_handle}/{instance_name}"
.
- storage: StorageSettings¶
Default storage.
- storage_local: StorageSettings¶
An additional local default storage.
- uid: str¶
The user-facing instance id.
Methods¶