handle unset default editions

This commit is contained in:
Mouse Reeve
2020-11-28 17:41:57 -08:00
parent 72c7829bab
commit dfd730757d
4 changed files with 32 additions and 2 deletions

View File

@ -49,6 +49,7 @@ class Edition(Book):
class Work(Book):
''' work instance of a book object '''
lccn: str = ''
defaultEdition: str = ''
editions: List[str]
type: str = 'Work'