DateType
DateType copied to clipboard
Feature request: supporting older Python versions
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:
- typing.Protocol was added in 3.8, to have the support we should use typing extensions
- union operator for types is supported Python 3.10, so
|should be converted toUnions and| Noneshould be converted toOptionals for now
Sure, I'd be happy to look at this.