lamindb.setup.core.SetupSettings¶
- class lamindb.setup.core.SetupSettings¶
Bases:
object
Setup settings.
Attributes¶
- property auto_connect: bool¶
Auto-connect to current instance upon
import lamindb
.This setting is always
True
and will be removed in a future version.
- property instance: InstanceSettings¶
Settings of current LaminDB instance.
- property is_connected: bool¶
Determine whether the current instance is fully connected and ready to use.
If
True
, the current instance is connected, meaning that the db and other settings are properly configured for use.
- property paths: type[SetupPaths]¶
Convert cloud paths to lamindb local paths.
Use
settings.paths.cloud_to_local_no_update
orsettings.paths.cloud_to_local
.
- property private_django_api: bool¶
Turn internal Django API private to clean up the API (default
False
).This patches your local pip-installed django installation. You can undo the patch by setting this back to
False
.
- property settings_dir: Path¶
The directory that holds locally persisted settings.
- property storage: StorageSettings¶
Settings of default storage.
- property user: UserSettings¶
Settings of current user.