Add translators to Book serializers

This commit is contained in:
2021-12-10 18:00:02 +03:00
parent 1baae19702
commit 1117e36046
10 changed files with 30 additions and 25 deletions

View File

@@ -19,6 +19,7 @@ class Book(BaseModel):
available_types: list[str]
uploaded: date
authors: list[Author]
translators: list[Author]
annotation_exists: bool
class Config(ORJSONConfig):