More typing fixes.

This commit is contained in:
Tom Hacohen
2020-12-29 20:56:36 +02:00
parent 6615b149c5
commit a7fdb4a108
2 changed files with 7 additions and 4 deletions

View File

@@ -56,6 +56,7 @@ class Collection(models.Model):
@property
def content(self) -> "CollectionItemRevision":
assert self.main_item is not None
return self.main_item.content
@property