Create an Interval instance.
(
start: DateTime, end: DateTime, absolute: bool = False
)
| 327 | |
| 328 | |
| 329 | def interval( |
| 330 | start: DateTime, end: DateTime, absolute: bool = False |
| 331 | ) -> Interval[DateTime]: |
| 332 | """ |
| 333 | Create an Interval instance. |
| 334 | """ |
| 335 | return Interval(start, end, absolute=absolute) |
| 336 | |
| 337 | |
| 338 | if TYPE_CHECKING: |
nothing calls this directly
no test coverage detected
searching dependent graphs…