diff --git a/aioradio/file_ingestion.py b/aioradio/file_ingestion.py index 3425304..e3ee253 100644 --- a/aioradio/file_ingestion.py +++ b/aioradio/file_ingestion.py @@ -26,7 +26,7 @@ from collections import defaultdict from dataclasses import dataclass from dataclasses import field as dc_field -from datetime import datetime, timezone, tzinfo, timedelta +from datetime import datetime, timedelta, timezone, tzinfo from pathlib import Path from types import coroutine from typing import Any, Dict, List @@ -804,7 +804,7 @@ def check_for_prospects(self, row: dict[str, Any]) -> bool: ################################### Used by EFI exclusively ################################### ############################################################################################### - def check_year_efi(self, records: list[str], field: str, past: datetime, future: datetime, row_idx: int): + def check_year_efi(self, records: list[str], field: str, row_idx: int): """Check year conforms to expected year within time range. Args: @@ -818,7 +818,7 @@ def check_year_efi(self, records: list[str], field: str, past: datetime, future: for idx in range(len(records)): records[idx] = self.check_year(records[idx], field, row_idx + idx) - def check_date_efi(self, records: list[str], field: str, past: datetime, future: datetime, row_idx: int): + def check_date_efi(self, records: list[str], field: str, row_idx: int): """Check date conforms to expected date within time range. Args: