mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-16 04:00:36 +00:00
In particular, SealedDate's class methods always return an instance of the class they're invoked through (i.e., `SealedDate.from_date_parts` intentionally never returns `MonthSeal` or `YearSeal`). To propertly annotate this, a type variable is needed (or the much simpler `Self` in Python 3.11). |
||
---|---|---|
.. | ||
__init__.py | ||
cache.py | ||
isni.py | ||
log.py | ||
regex.py | ||
sanitizer.py | ||
sealed_date.py | ||
validate.py |