lamindb_setup.core.SetupSettings

class lamindb_setup.core.SetupSettings

Bases: object

Setup settings.

Attributes

property auto_connect: bool

Auto-connect to loaded instance upon lamindb import.

lamin init and lamin load switch this to True.

ln.connect() doesn’t change the value of this setting.

property instance: InstanceSettings

Settings of current LaminDB instance.

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.

Methods