Martijn van Elferen
11/21/2023, 2:26 PMMarvin
11/21/2023, 2:27 PMpip install -U "prefect"
2. Connect to Prefect's API: Use the prefect cloud login
CLI command to log into Prefect Cloud from your environment.
3. Write a flow: Add a @flow
decorator to any Python function and call its serve
method to create a deployment. Flows are the core observable, deployable units in Prefect and are the primary entrypoint to orchestrated work.
For the specific command to request the status of a flow, I would recommend checking the Prefect Cloud CLI documentation or the help command in the CLI.Nate
11/21/2023, 2:36 PMprefect flow-run ls
is what you're looking for?Nate
11/21/2023, 2:37 PMprefect flow-run inspect <UUID>
on one of them to get more detailsMartijn van Elferen
11/22/2023, 10:49 AM