diff --git a/flows/whoami.py b/flows/whoami.py index 0ae7f7c..3724435 100644 --- a/flows/whoami.py +++ b/flows/whoami.py @@ -2,6 +2,20 @@ This flow will log information about the current environment. Use it to diagnose issues with your environment, especially when deploying to infrastructure. + +The flow has no dependencies and can be deployed from its public source: + +```python +from prefect import flow + +flow.from_source( + source="https://github.com/PrefectHQ/examples.git", + entrypoint=flows/whoami.py:whoami, +).deploy( + name="default", + work_pool_name="my-work-pool", +) +``` """ import sys