Skip to content

Commit

Permalink
Merge pull request #1444 from sul-dlss/t1437-oclc-serial-tasks
Browse files Browse the repository at this point in the history
Makes OCLC set holdings Task Downstream from New to OCLC
  • Loading branch information
jermnelson authored Nov 18, 2024
2 parents db6c4b0 + 6489f10 commit 12d65b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libsys_airflow/dags/data_exports/oclc_transmission.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def send_oclc_records():
connection_details=connections, new_records=filtered_new_records
)

new_records >> set_holdings_for_records

filtered_errors = filter_failures_task(
update=set_holdings_for_records['failures'],
delete=deleted_records['failures'],
Expand Down
1 change: 1 addition & 0 deletions libsys_airflow/plugins/data_exports/oclc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def __put_folio_record__(self, instance_uuid: str, record: Record) -> bool:
"instanceHrid": instance_hrid,
},
},
timeout=60,
)
if put_result.status_code != 202:
logger.error(
Expand Down

0 comments on commit 12d65b1

Please sign in to comment.