Manual edits¶
Find all unclassified / unprocessed transactions and prompt the user to classify and edit them.
This is one of the nice tools that Roastery has on offer and is what allows you to easily and quickly edit large amounts of transaction data. Any edits made by the end user are saved in a JSON file that can be version controlled with git.
- roastery.edit.main(config: Config) None [source]¶
Find all unclassified transactions and prompt the user to assign them to a category.
This function depends on FZF to provide the interactive prompt that allows the user to select their preferred category. This function assumes that
fzf
is installed and available onPATH
.- Parameters:
config (Config) – The configuration to use to find files on disk.
- Return type:
None
- class roastery.edit.ManualEdits[source]¶
Manually edits applied to an
roastery.importer.Entry
by a user.User-overridden data is stored in a JSON file that is indexed by the
roastery.importer.Entry.digest
. Roastery loads these manual edits fromroastery.config.Config.manual_edits_path
.