PrefectHQ
prefect
BlogDocsChangelog

Use server base path configuration when creating internal client

#18668Merged
Comparing
anton-daneyko-ultramarin:fix-automation
(
3fd3525
) with
main
(
67b7b7e
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
458.6 µs456.8 µ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 ms106.1 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
4.4 ms4.4 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+3%
165.1 ms159.6 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-22%
4.3 ms5.6 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+2%
166.1 ms162.9 ms

Commits

Click on a commit to change the comparison range
Base
main
67b7b7e
-0.11%
Use server base path configuration when creating internal client The automations subsystem uses an in-memory client to make API calls to perform orchestration actions. Prior to this commit the client did not take into account the base path settings that are set with the `PREFECT_SERVER_API_BASE_PATH` environment variable, which led to a 404 HTTP error, when the client was trying to make access resources through REST API. Closes #18667
b3212a7
2 months ago
by anton-daneyko-ultramarin
+0.27%
Merge branch 'main' into fix-automation
3fd3525
2 months ago
by desertaxle
© 2025 CodSpeed Technology
Home Terms Privacy Docs