Your first steps with Prefect – learn how to create a basic flow and understand core concepts.
flow
decorator from Prefect.
@flow
decorator.
@flow
, the function was transformed into a Prefect flow. Each time we called it:
hello
function to a different message and run the flow again.
You’ll see your changes immediately reflected in the logs.
crew
list or create a larger data set to process. Prefect will handle each execution and track every input and output.
hello
function is a simple example, but in its place imagine something that matters to you, like:
@flow
decorator is your gateway to enterprise-grade orchestration - no complex configuration needed!
For more information about the orchestration concepts demonstrated in this example, see the Prefect documentation.