Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Support `DateTimeDelta` as interval option in `IntervalSchedule`

#20692Merged
Comparing
devin/1771257112-datetimedelta-interval-schedule
(
e795a06
) with
main
(
1d9f46d
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
+1%
553.8 µs548.5 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+2%
106.6 ms105.1 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-8%
5.4 ms5.9 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
107.3 ms106.7 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-28%
10.5 ms14.5 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
0%
90.7 ms90.7 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s

Commits

Click on a commit to change the comparison range
Base
main
1d9f46d
+0.02%
Sync UI v2 OpenAPI schema (pre-commit hook)
0f406ff
25 days ago
by devin-ai-integration[bot]
-0.08%
Fix UI TypeScript errors from interval type and OpenAPI sync
04d48c6
25 days ago
by devin-ai-integration[bot]
-0.01%
Reject negative DateTimeDelta intervals in validation
e8e751a
24 days ago
by devin-ai-integration[bot]
-0.22%
Move Interval type and validation to prefect/types/_datetime.py
72a6607
24 days ago
by devin-ai-integration[bot]
+0.07%
Use Annotated[Interval, AfterValidator] instead of field_validator
f6fed5b
24 days ago
by devin-ai-integration[bot]
+0.03%
Parse ISO 8601 interval durations in UI
f54ee42
24 days ago
by devin-ai-integration[bot]
+0.68%
Stabilize runs page tab rendering test
e795a06
24 days ago
by devin-ai-integration[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs