Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Python files to use snake case #4

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Then run this script and start a worker:

```bash
python deploy/deploy-docker-existing-image.py
python deploy/deploy_docker_existing_image.py
prefect worker start --pool docker --type docker
```
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
export PREFECT_API_KEY=`python -c "from prefect.settings import PREFECT_API_KEY as x; print(x.value())"`

docker run -it --rm \
-v $(pwd)/deploy/deploy-docker-in-docker.py:/tmp/deploy-docker-in-docker.py \
-v $(pwd)/deploy/deploy_docker_in_docker.py:/tmp/deploy_docker_in_docker.py \
-e PREFECT_API_URL=$PREFECT_API_URL \
-e PREFECT_API_KEY=$PREFECT_API_KEY \
flow-hello-world:latest \
python /tmp/deploy-docker-in-docker.py /opt/custom/path/to/hello-world.py:hello
python /tmp/deploy_docker_in_docker.py /opt/custom/path/to/hello-world.py:hello
```
"""

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The output can be piped to a CSV file for further analysis. For example:
```bash
uv run --python 3.12 --with prefect python scripts/cross-workspace-flow-runs.py -a $ACCOUNT_ID > flow-runs.csv
uv run --python 3.12 --with prefect python scripts/cross_workspace_flow_runs.py -a $ACCOUNT_ID > flow-runs.csv

uvx duckdb -c "select state, sum(flow_runs) from read_csv('./flow-runs.csv') group by 1 order by 2 desc"
```
Expand Down
File renamed without changes.
File renamed without changes.