PrefectHQ
prefect
BlogDocsChangelog

Support direct asset materialization through Python function

#19988
Comparing
Jay-Lokhande:feat/direct-asset-materialization-19634
(
2f78e1a
) with
main
(
8f441a4
)
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
0%
600.3 µs600.9 µs

Ignored

bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+4%
171.8 ms165.7 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
106.5 ms107.3 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-4%
5.4 ms5.6 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
-4%
32.1 ms33.5 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+14%
14.4 ms12.6 ms

Commits

Click on a commit to change the comparison range
Base
main
8f441a4
-0.41%
Modify materialize() function to support direct calls from within flows and tasks, in addition to decorator usage.
9278afd
1 day ago
by Jay-Lokhande
+0.2%
Enhance _MaterializeCallable initialization with detailed docstring for clarity
1dcfb4e
1 day ago
by Jay-Lokhande
-0.31%
Refactor import statements
917d5bf
1 day ago
by Jay-Lokhande
+0.29%
Add tests for direct asset materialization from flows and tasks
66ba878
23 hours ago
by Jay-Lokhande
+0.1%
Refactor test functions for pre-commit formatting fixes
cdc77e5
23 hours ago
by Jay-Lokhande
-0.03%
Refactor materialization logic to improve context handling and error management. Update tests to ensure direct materialization raises appropriate errors outside of execution context.
d7cbde7
22 hours ago
by Jay-Lokhande
-0.19%
Remove redundant comments in materialization logic to enhance code clarity and maintainability.
a9cfd78
20 hours ago
by Jay-Lokhande
+0.05%
Enhance support direct asset materialization through Python function
dbf7cbc
5 hours ago
by Jay-Lokhande
+0.23%
Update AssetContext handling to ensure accurate tracking of upstream assets across task runs.
2f78e1a
1 hour ago
by Jay-Lokhande
© 2025 CodSpeed Technology
Home Terms Privacy Docs