Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions packages/parser-core/src/bankstatements_core/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
TransactionSortingService,
)
from bankstatements_core.services.transaction_filter import TransactionFilterService
from bankstatements_core.services.transaction_processing_orchestrator import (
TransactionProcessingOrchestrator,
)
from bankstatements_core.utils import is_date_column, to_float # noqa: F401

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -247,11 +244,6 @@ def __init__(
entitlements=self.entitlements,
)

self._transaction_orchestrator = TransactionProcessingOrchestrator(
duplicate_detector=self._duplicate_service,
sorting_service=self._sorting_service,
)

# ServiceRegistry: single wiring point for transaction processing
if registry is not None:
self._registry = registry
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""ServiceRegistry — single wiring point for transaction processing services.

Centralises construction of duplicate detection, sorting, IBAN grouping, and
the enrichment/classification pipeline that was previously spread across
TransactionProcessingOrchestrator and BankStatementProcessor.
the enrichment/classification pipeline.

Usage (primary path)::

Expand Down Expand Up @@ -149,9 +148,6 @@ def process_transaction_group(
) -> tuple[list[dict], list[dict]]:
"""Enrich → classify → deduplicate → sort a group of transactions.

This replaces the explicit five-call chain that was previously spread
across BankStatementProcessor and TransactionProcessingOrchestrator.

Args:
transactions: List of transaction dicts for a single IBAN group.
template: Optional bank template used for transaction type keywords.
Expand Down Expand Up @@ -205,7 +201,7 @@ def get_grouping_service(self) -> "IIBANGrouping":
return self._grouping_service

# ------------------------------------------------------------------
# Internal enrichment helpers (inlined from TransactionProcessingOrchestrator)
# Internal enrichment helpers
# ------------------------------------------------------------------

@staticmethod
Expand Down

This file was deleted.

This file was deleted.

Loading