A type wrapper for the standard library `datetime` that supplies stricter checks, such as making 'datetime' not substitutable for 'date', and separating out Naive and Aware datetimes into separate, mutually-incompatible types.
Thank you for sharing this library! Would it be costly to support Python 3.7+? (Currently declared Python support is for 3.10+.) I think I would be willing to create a PR.
Thank you for sharing this library! Would it be costly to support Python 3.7+? (Currently declared Python support is for 3.10+.) I think I would be willing to create a PR.
Notes:
|
should be converted toUnion
s and| None
should be converted toOptional
s for now