Skip to content

Commit

Permalink
Added type annotation for MarcFileProcess in read_records method
Browse files Browse the repository at this point in the history
  • Loading branch information
bltravis committed Dec 17, 2024
1 parent 4e64c27 commit 96a4964
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
)
from folio_migration_tools.folder_structure import FolderStructure
from folio_migration_tools.library_configuration import FileDefinition
from folio_migration_tools.marc_rules_transformation.marc_file_processor import (
MarcFileProcessor,
)
from folio_migration_tools.migration_report import MigrationReport


Expand Down Expand Up @@ -47,7 +50,7 @@ def read_records(
reader,
source_file: FileDefinition,
failed_records_file: IOBase,
processor,
processor: MarcFileProcessor,
):
for idx, record in enumerate(reader):
processor.mapper.migration_report.add_general_statistics(
Expand Down

0 comments on commit 96a4964

Please sign in to comment.