PrefectHQ
prefect
BlogDocsChangelog

Fix `PREFECT_CLIENT_CUSTOM_HEADERS` JSON string parsing

#19052Merged
Comparing
custom-headers
(
4eb3b3d
) with
main
(
8662a61
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
457.4 µs456.9 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
106.1 ms106.1 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+4%
4.7 ms4.5 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-6%
158.6 ms168.4 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
169.3 ms167.8 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+5%
6.2 ms5.9 ms

Commits

Click on a commit to change the comparison range
Base
main
8662a61
-0.03%
clean up
af60660
10 days ago
by zzstoatzz
+0.02%
Fix type annotation to enforce string values in dict The JsonStringOrDict type should return dict[str, str] not dict[str, Any] to maintain proper validation of header values as strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
4eb3b3d
10 days ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs