Hi everyone!
We’ve just released Prefect 2.6 with the first-class result configuration , new allow_failure
annotation, dynamic work-queue patterns for easier configuration of concurrency limits, and more.
Check out the release blog post and release notes for more details.
# Prefect Release Notes
## Release 2.6.0
### First-class configuration of results 🎉
Previously, Prefect serialized the results of all flows and tasks with pickle, then wrote them to your local file system.
In this release, we're excited to announce this behavior is fully configurable and customizable.
Here are some highlights:
- Persistence of results is off by default.
- We will turn on result persistence automatically if needed for a feature you're using, but you can always opt-out.
- You can easily opt-in for any flow or task.
- You can choose the result serializer.
- By default, we continue to use a pickle serializer, now with the ability to choose a custom implementation.
- We now offer a JSON result serializer with support for all of the types supported by Pydantic.
- You can also write your own serializer for full control.
- Unless your results are being persisted, they will not be serialized.
- You can change the result storage.
This file has been truncated. show original
Happy Engineering!
2 Likes