From 7c1b80d33753c1867d1ff313de67de52560a4bf9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 4 Jun 2025 15:22:00 +0200 Subject: [PATCH] More wrong imports --- da/api/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/da/api/common.py b/da/api/common.py index 79c5776..5dbd588 100644 --- a/da/api/common.py +++ b/da/api/common.py @@ -3,7 +3,7 @@ from dataclasses import dataclass from typing import Optional, List, Sequence from da.common import BlobId -from da.verifier import DABlob +from da.verifier import DAShare @dataclass @@ -31,7 +31,7 @@ class BlobStore(ABC): pass @abstractmethod - def get_multiple(self, app_id: bytes, indexes: Sequence[int]) -> List[Optional[DABlob]]: + def get_multiple(self, app_id: bytes, indexes: Sequence[int]) -> List[Optional[DAShare]]: pass @@ -48,7 +48,7 @@ class DAApi: """ self.store.add(id, metadata) - def read(self, app_id, indexes) -> List[Optional[DABlob]]: + def read(self, app_id, indexes) -> List[Optional[DAShare]]: """ Read method should accept only `app_id` and a list of indexes. The returned list of blobs should be ordered in the same sequence as `indexes` in a request.