h1st.model_repository.storage.base module

class h1st.model_repository.storage.base.Storage[source]

Bases: abc.ABC

Base class for storage

abstract get_obj(name: str) → Any[source]
abstract set_obj(name: str, value: Any) → NoReturn[source]
abstract get_bytes(name: str) → bytes[source]
abstract set_bytes(name: str, value: bytes) → NoReturn[source]
abstract exists(name: str) → bool[source]
abstract delete(name: str) → Any[source]