Skip to content

Commit

Permalink
Adds note about deployment of whoami flow
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilRex committed Dec 6, 2024
1 parent f92efc2 commit f50abe4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions flows/whoami.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f50abe4

Please sign in to comment.