Typing stubs for DateTimeRange, part of the typeshed project. Provides type hints for the DateTimeRange library. Version 2.0.0.6; updated periodically with typeshed releases.
pip install types-datetimerangeVerified import paths — ran on the pinned version, not inferred.
Basic usage of DateTimeRange with typing stubs.
pip install --upgrade types-datetimerange DateTimeRange
Use `# type: ignore` if needed.