Coverage for src/blob_dict/common.py: 0%

19 statements  

« prev     ^ index     » next       coverage.py v7.7.0, created at 2025-03-18 23:10 -0700

1from __future__ import annotations 

2 

3from abc import ABC, abstractmethod 

4from typing import TYPE_CHECKING 

5 

6from .blob import Blob 

7 

8if TYPE_CHECKING: 

9 from .blob import Blob 

10 

11 

12class BaseBlobDict(ABC): 

13 @abstractmethod 

14 def create(self) -> None: 

15 ... 

16 

17 @abstractmethod 

18 def delete(self) -> None: 

19 ... 

20 

21 @abstractmethod 

22 def clear(self) -> None: 

23 ... 

24 

25 @abstractmethod 

26 def __getitem__(self, key: str) -> Blob: 

27 ...