macxred / pyledger

Python package to streamline the implementation and management of accounting systems.
MIT License
0 stars 0 forks source link

Refactor Mirroring Logic for CashCtrlLedger #25

Closed AlexTheWizardL closed 1 month ago

AlexTheWizardL commented 2 months ago

Description:

In this task, we need to refactor the existing mirroring logic from CashCtrlLedger and move it to pyledger. This refactoring is necessary to streamline the codebase and ensure that mirroring functionality is consistently applied across different ledger implementations.

Tasks:

  1. Identify the current mirroring logic in CashCtrlLedger.
  2. Refactor the logic by moving it into the pyledger implementation.
  3. Update any relevant tests to ensure the functionality is correctly validated after the refactoring.
AlexTheWizardL commented 1 month ago

When moved mirroring logic to the abstract LedgerEngine class remove the docstrings from the mirroring methods in the MemoryLedger class.