lamindb_setup.dev.StorageSettings#
- class lamindb_setup.dev.StorageSettings(root, region=None, uid=None)#
Bases:
object
Manage cloud or local storage settings.
Attributes
- cache_dir property#
Cache root, a local directory to cache cloud files.
- id property#
Storage id.
- is_cloud property#
True
ifstorage_root
is in cloud,False
otherwise.
- record property#
Storage record.
- region property#
Storage region.
- root property#
Root storage location.
- root_as_str property#
Formatted root string.
- type property#
AWS S3 vs. Google Cloud vs. local vs. the other protocols.
Returns the protocol.
- uid property#
Storage id.
Methods