Skip to main content

BaseStorage

Base class for storages.

Hierarchy

Index

Methods

Properties

Methods

drop

  • async drop(): None
  • Drop the storage. Remove it from underlying storage and delete from cache.


    Returns None

open

  • Open a storage, either restore existing or create a new one.


    Parameters

    • optionalkeyword-onlyid: str | None = None

      The storage ID.

    • optionalkeyword-onlyname: str | None = None

      The storage name.

    • optionalkeyword-onlyconfiguration: Configuration | None = None

      The configuration to use.

    Returns BaseStorage

Properties

id

id: str

Get the storage ID.

name

name: str | None

Get the storage name.

Page Options