macxred / pyledger

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

Implement missing abstract methods in TextLedger #11

Open lasuk opened 2 months ago

lasuk commented 2 months ago

Tasks

Integration into pyledger Architecture

TextLedger stores ledger, and price data in multiple files, not in a single file. Adding ledger and price entries therefore requires an additional 'file' argument with the file path. This argument is not available in the abstract LedgerEngine method definition, which complicates the integration with the abstract class. We can work around the problem by setting a default file path as a property in TextLedger and using this default if no specific storage location is provided.