PrefectHQ
prefect
BlogDocsChangelog

Add Data Fetching & Generator for Custom Deployments SDK

#20172Merged
Comparing
custom-deployments-sdk-phase-4
(
f994209
) with
main
(
bff0494
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
-1%
601 µs604.6 µs

Ignored

bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
164.3 ms164.8 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
5.5 ms5.5 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-3%
30.8 ms31.8 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-2%
104.5 ms106.4 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-59%
7.7 ms18.9 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
bff0494
-0.22%
Add Data Fetching & Generator for Custom Deployment SDK (Phase 4) Implements the API integration and orchestration layer for SDK generation: - Add fetcher module with authentication checking, deployment listing with pagination, parallel work pool fetching, and flow name resolution - Add generator module to orchestrate fetch → render → write pipeline - Update renderer with _make_optional helper to avoid duplicate | None types - Add _sync=True to generated run() method for proper sync dispatch behavior - Add comprehensive tests for fetcher (46 tests) and generator (26 tests) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
499fa46
2 days ago
by desertaxle
+0.41%
Remove dead code handling impossible duplicate flow names Flow names have a unique constraint at the database level, so two flows with the same name but different IDs cannot exist. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3a0204a
3 hours ago
by desertaxle
-0.49%
Add pagination to flow fetching in SDK fetcher The _fetch_flows_for_deployments function now paginates through results to ensure all flows are fetched when there are more than 200. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
f994209
33 minutes ago
by desertaxle
© 2026 CodSpeed Technology
Home Terms Privacy Docs