Skip to content

curation: minor fixes; bump deps #2360

curation: minor fixes; bump deps

curation: minor fixes; bump deps #2360

Triggered via pull request December 10, 2024 10:25
Status Failure
Total duration 8m 48s
Artifacts

tests.yml

on: pull_request
Matrix: Python
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Python (site, 3.9, postgresql14, opensearch2): site/zenodo_rdm/curation/tasks.py#L1
Black format check --- /home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/curation/tasks.py 2024-12-10 10:25:39.426405+00:00 +++ /home/runner/work/zenodo-rdm/zenodo-rdm/site/zenodo_rdm/curation/tasks.py 2024-12-10 10:33:39.547204+00:00 @@ -19,11 +19,17 @@ @shared_task def run_eu_record_curation(since): """Run EC Curator.""" - ctx = {"processed": 0, "approved": 0, "failed": 0, "since": since, "records_moved": []} + ctx = { + "processed": 0, + "approved": 0, + "failed": 0, + "since": since, + "records_moved": [], + } dry_run = not current_app.config.get("CURATION_ENABLE_EU_CURATOR") curator = EURecordCurator(dry=dry_run) query = dsl.Q( "bool", @@ -39,11 +45,12 @@ }, ), dsl.Q( "range", updated={ - "gte": datetime.fromisoformat(since).isoformat() - timedelta(hours=12), + "gte": datetime.fromisoformat(since).isoformat() + - timedelta(hours=12), }, ), ], must_not=[ dsl.Q(
Python (site, 3.9, postgresql14, opensearch2)
Process completed with exit code 1.