lamindb.setup.core.SetupSettings¶
- class lamindb.setup.core.SetupSettings¶
Bases:
objectSetup settings.
Attributes¶
- property auto_connect: bool¶
Auto-connect to current instance upon
import lamindb.This setting is always
Trueand 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_updateorsettings.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.
- property work_dir: Path | None¶
Get or set the current working directory.
If setting it to
None, the working directory is unset