From 94161943ca019d1e887ce8665e1c0e82df941eee Mon Sep 17 00:00:00 2001 From: Tal Leibman Date: Sat, 26 Dec 2020 18:09:46 +0200 Subject: [PATCH] chunks type hint --- etebase_fastapi/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etebase_fastapi/collection.py b/etebase_fastapi/collection.py index 9e64072..77abe0f 100644 --- a/etebase_fastapi/collection.py +++ b/etebase_fastapi/collection.py @@ -86,7 +86,7 @@ class CollectionItemRevision(BaseModel): uid: str meta: bytes deleted: bool - chunks: t.List[t.List[t.Union[str, bytes]]] + chunks: t.List[t.Tuple[str, t.Optional[bytes]]] class Item(BaseModel):