Michael Hadorn
02/17/2021, 10:04 AMale
02/17/2021, 10:10 AM*<http://prefect.utilities.tasks.as|prefect.utilities.tasks.as>_task*(x, flow=None)
https://github.com/PrefectHQ/prefect/blob/b438af1436f6baa3f941600557309648e838f111/src/prefect/utilities/tasks.py#L233Michael Hadorn
02/17/2021, 10:15 AMale
02/17/2021, 10:26 AMMichael Hadorn
02/17/2021, 10:32 AMKeyError: 'Task slug XX not found in the current Flow; this is usually caused by changing the Flow without reregistering it with the Prefect API.'
Amanda Wee
02/17/2021, 12:39 PMnow()
and so the dynamic flow will run shortly after registration.Michael Hadorn
02/17/2021, 12:44 PMAmanda Wee
02/17/2021, 12:48 PMMichael Hadorn
02/17/2021, 1:25 PMAmanda Wee
02/17/2021, 1:40 PMFlows can be registered with the Prefect API for scheduling and execution, as well as management of run histories, logs, and other important metrics.
https://docs.prefect.io/orchestration/concepts/flows.htmlMichael Hadorn
02/17/2021, 2:22 PM