Revert "Improve chunks type."

This reverts commit 37f5a4509f.
This commit is contained in:
Tom Hacohen 2020-12-28 10:47:07 +02:00
parent cf7690a60f
commit 38884fead8

View File

@ -31,10 +31,7 @@ class CollectionItemRevisionInOut(BaseModel):
uid: str uid: str
meta: bytes meta: bytes
deleted: bool deleted: bool
chunks: t.List[t.Union[ chunks: t.List[t.Tuple[str, t.Optional[bytes]]]
t.Tuple[str],
t.Tuple[str, bytes],
]]
class Config: class Config:
orm_mode = True orm_mode = True