openlibrary
openlibrary copied to clipboard
Partial fix for #6755. Batch four of type hints from type annotations.
Partial fix for #6755
Refactor
Technical
Added more type hints from type annotations.
Testing
Although there is an assert at line 573 in addbook.py, this should not change runtime behavior because Mypy doesn't understand that self.edition won't be None in that branch of code, as if edition_data is not None, then self.edition is not None.
Screenshot
Stakeholders
@cclauss