Skip to content

Fix: Bank Sync Connector Architecture#613

Open
jrhous wants to merge 1 commit intorohitdash08:mainfrom
jrhous:fix/issue-75
Open

Fix: Bank Sync Connector Architecture#613
jrhous wants to merge 1 commit intorohitdash08:mainfrom
jrhous:fix/issue-75

Conversation

@jrhous
Copy link

@jrhous jrhous commented Mar 22, 2026

Fixes #75


Submitted by automated bounty agent

…h08#75)

- Add abstract BankConnector interface with BankAccount, BankTransaction,
  and ImportResult dataclasses in services/bank_connectors/base.py
- Add MockBankConnector with deterministic transaction generation and
  cursor-based incremental sync in services/bank_connectors/mock.py
- Add connector registry (register_connector/get_connector/list_connectors)
  with MockBankConnector registered by default
- Add BankConnection SQLAlchemy model with soft-delete and sync cursor tracking
- Add /bank-sync Flask blueprint with endpoints for listing providers,
  fetching accounts, CRUD connections, full import (preview/commit), and refresh
- Add comprehensive test suite covering interface, mock, registry, and all routes

Closes rohitdash08#75

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jrhous jrhous requested a review from rohitdash08 as a code owner March 22, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bank Sync Connector Architecture

1 participant