Release 2.16.7
π» Introducing prefect shell
for observing CLI commands
You can now observe CLI commands as a Prefect flow. For example:
Β» prefect shell watch "curl http://wttr.in/Chicago?format=3"
17:32:39.562 | INFO | prefect.engine - Created flow run 'powerful-mushroom' for flow 'Shell Command'
17:32:40.171 | INFO | Flow run 'powerful-mushroom' - Chicago: β
οΈ +50Β°F
17:32:40.315 | INFO | Flow run 'powerful-mushroom' - Finished in state Completed()
See these docs to learn how to:
- run a shell command as a Prefect flow on-demand with
watch
- schedule a shell command as a recurring Prefect flow using
serve
See the PR for implementation details: #11998
Other Enhancements π
- Integrate composite triggers with the
DeploymentTrigger
YAML representation β #12413 - Add JSON Artifacts β #12295
- Add auto-provisioning option for Cloud Run V2 push work pools β #12422
... and numerous π fixes!
Full Changelog: 2.16.6...2.16.7
See the release notes for more!