Revert "Improve chunks type."

This reverts commit 37f5a4509f.
master
Tom Hacohen 4 years ago
parent cf7690a60f
commit 38884fead8

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

Loading…
Cancel
Save