Skip to content

Commit

Permalink
Merge pull request #147 from sul-dlss/tsv-dates-xcom
Browse files Browse the repository at this point in the history
Corrects Task references in DAG
  • Loading branch information
shelleydoljack committed Sep 19, 2022
2 parents 8b12bed + a4bcee9 commit 82b8d42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.10"
- name: Install airflow dependencies
run: |
pip install -r requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions dags/bib_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def marc_only(*args, **kwargs):
task_id="move-marc-files",
python_callable=move_marc_files,
op_kwargs={
"marc_filepath": "{{ ti.xcom_pull('bib-file-groups', key='marc-file') }}"
"marc_filepath": "{{ ti.xcom_pull('bib-files-group', key='marc-file') }}"
},
)

Expand All @@ -118,7 +118,7 @@ def marc_only(*args, **kwargs):
# Strips out spaces from barcode
("BARCODE", lambda x: x.strip() if isinstance(x, str) else x),
],
"tsv_files": "{{ ti.xcom_pull('bib-file-groups', key='tsv-files') }}", # noqa
"tsv_files": "{{ ti.xcom_pull('bib-files-group', key='tsv-files') }}", # noqa
},
)

Expand Down Expand Up @@ -146,7 +146,7 @@ def marc_only(*args, **kwargs):
op_kwargs={
"library_config": sul_config,
"marc_stem": """{{ ti.xcom_pull('move-transform.move-marc-files') }}""", # noqa
"dates_tsv": "{{ ti.xcom_pull('bib-file-groups', key='tsv-dates') }}"
"dates_tsv": "{{ ti.xcom_pull('bib-files-group', key='tsv-dates') }}"
},
)

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ pydantic
pymarc
pytest
pytest_mock
apache-airflow >= 2.3.3
apache-airflow == 2.3.3
apache-airflow-providers-postgres

0 comments on commit 82b8d42

Please sign in to comment.