PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(tasks): return `PrefectFutureList` from `Task.map` when `deferred=True` (#22355) Co-authored-by: Alex Streed <ajstreed1@gmail.com>
main
2 hours ago
docs: Add release notes for `prefect-databricks==0.4.1` (#22357) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alex Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
3 hours ago
Also guard resolved results from State/Future that contain FlowRun/TaskRun After resolve_to_final_result resolves a State/Future to its result, visit_collection recurses into the result as a Pydantic model. If the result is a FlowRun/TaskRun, the embedded .state field would still be misinterpreted as an upstream dependency. Add the guard on the resolved result path (both sync resolve_to_final_result and async resolve_input) so the chained case — a task returning a FlowRun consumed by a downstream task via State/Future — also gets a clear error. Co-authored-by: Alex Streed <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/1782223902-flow-run-task-arg-error
3 hours ago
fix(tasks): return PrefectFutureList from Task.map when deferred=True Task.map with deferred=True was returning a plain list instead of PrefectFutureList, causing AttributeError when calling .wait() or .result() on the mapped result. Wrap the deferred futures in PrefectFutureList to match the behavior of the non-deferred code path via TaskRunner.map. Closes #22354
devin/1782229392-fix-deferred-map-return-type
3 hours ago
fix: quote -q and -p args separately in work-queue create output (#22350) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alex Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
4 hours ago
Raise clear error when FlowRun/TaskRun passed as task argument Detect unannotated Prefect run schema objects (FlowRun, TaskRun) in the task input resolution path and raise a clear PrefectException explaining the issue, rather than letting visit_collection recurse into the embedded .state field and produce a misleading NotReady / upstream task run None message. The error message explains that: - Passing a FlowRun/TaskRun as a task argument is not supported - Prefect inspects arguments for upstream State/Future dependencies - Users should pass individual fields (e.g. flow_run.id) or wrap the object with opaque() to skip dependency traversal Also makes _resolve_parameters idempotent to handle the async engine path which calls it twice (in start() and begin_run()). Co-authored-by: Alex Streed <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/1782223902-flow-run-task-arg-error
5 hours ago
docs: Use canonical PREFECT_WORKER_* defaults in healthchecks guide (#22351) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alex Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
5 hours ago
fix: quote -q and -p args separately in work-queue create output The success message for `prefect work-queue create` placed `-p <pool>` inside the `-q` quoted argument, producing a non-runnable command. Split the quotes so each flag gets its own argument. Co-authored-by: Alex Streed <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/1782220630-fix-work-queue-create-cmd
6 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Raise clear error when FlowRun/TaskRun passed as task argument
#22352
3 hours ago
6dbaf18
devin/1782223902-flow-run-task-arg-error
CodSpeed Performance Gauge
0%
fix(tasks): return `PrefectFutureList` from `Task.map` when `deferred=True`
#22355
4 hours ago
d557748
devin/1782229392-fix-deferred-map-return-type
CodSpeed Performance Gauge
0%
fix: quote -q and -p args separately in work-queue create output
#22350
6 hours ago
fa978f7
devin/1782220630-fix-work-queue-create-cmd
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs