lamindb_setup.set#
- class lamindb_setup.set#
Bases:
object
Set properties of current instance.
Attributes
Methods
- static storage(root, **fs_kwargs)#
Set storage.
- Parameters:
root (
Union
[str
,Path
,UPath
]) –Union[str, Path, UPath]
- The new storage root, e.g., an S3 bucket.**fs_kwargs – Additional fsspec arguments for cloud root, e.g., profile.
Example:
>>> ln.setup.set.storage( >>> "s3://some-bucket", >>> profile="some_profile", # fsspec arg >>> cache_regions=True # fsspec arg for s3 >>> )