Skip to content

Commit

Permalink
Merge pull request #1490 from opensafely/update-python-action
Browse files Browse the repository at this point in the history
Update Python Action
  • Loading branch information
lucyb authored Apr 23, 2024
2 parents b635d4f + af7004d commit 12fab52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/actions-reusable.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The entry point is a path to a script.
For example:

```yaml
run: python:latest python action/cli.py
run: python:v2 python action/cli.py
```

Where *action/cli.py* is:
Expand Down
2 changes: 1 addition & 1 deletion docs/case-control-studies.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Our *project.yaml* now includes the following action:
actions:
# ...
matching:
run: python:latest python analysis/match.py
run: python:v2 python analysis/match.py
needs: [extract_cases, extract_potential_controls]
outputs:
moderately_sensitive:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ This code reads the CSV of patient data, and saves a histogram of ages to a new
dataset: output/dataset.csv.gz

describe:
run: python:latest python analysis/report.py
run: python:v2 python analysis/report.py
needs: [generate_dataset]
outputs:
moderately_sensitive:
Expand Down

0 comments on commit 12fab52

Please sign in to comment.