PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.95k stars 1.57k forks source link

Update logged example flow to use wait on future not on task #14317

Closed zhen0 closed 3 months ago

zhen0 commented 3 months ago

The example that shows in my logs if I forget to use wait, shows calling wait() on the task. The docs show waiting on the future returned by .submit(). This PR updates the example.

image

Also fixes a small formatting error in mint.json to ensure the pre commit hooks pass.

Checklist