Closed hduelme closed 1 year ago
Does what's mentioned here apply to this also? (pre-3.10 compatibility)
In this case it doesn't apply. The hints are already supported. The problem in the other merge request was
Changed in version 3.10: Optional can now be written as X | None. See union type expressions.
I added type hints to the functions
get_days_since_date
andget_days_since_timestamp
. This makes it clearer what the functions accept and return.