Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Fix `parameters_to_args_kwargs` greedily assigning kwargs as positional args

#21332
Comparing
devin/1774636505-fix-parameters-to-args-kwargs
(
fdc03f0
) with
main
(
a4ddbe3
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
549.2 µs548.8 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+15%
7.7 ms6.6 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
112.7 ms112.8 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
×6.1
8.5 ms1.4 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
113.3 ms112.5 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
a4ddbe3
-0.14%
Fix parameters_to_args_kwargs greedily assigning kwargs as positional args
69c8924
13 hours ago
by devin-ai-integration[bot]
+0.47%
Handle VAR_POSITIONAL edge case in signature rewrite
3758744
13 hours ago
by devin-ai-integration[bot]
-0.03%
Only rewrite signature when actual wrapper accepts **kwargs
5cfa4fb
13 hours ago
by devin-ai-integration[bot]
-0.39%
Use wrapper's actual signature to decide positional vs keyword split
f256f82
12 hours ago
by devin-ai-integration[bot]
+0.1%
Match wrapped positional parameters by slot count, not name
3920fe2
11 hours ago
by devin-ai-integration[bot]
+0.04%
Raise TypeError on conflicting explicit and variadic kwargs entries
800c7a7
10 hours ago
by devin-ai-integration[bot]
-0.02%
Handle functools.partial of @wraps-decorated callables
fdc03f0
10 hours ago
by devin-ai-integration[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs