From 6ab5488398161435b7962652066f4279c523bc94 Mon Sep 17 00:00:00 2001 From: Red S Date: Mon, 23 Sep 2024 21:47:18 -0700 Subject: [PATCH] wip: fix fidelity_cma_csv TODO: - this needs a pytest so tests don't go stale - needs much more fixing, or removal --- .../importers/fidelity/fidelity_cma_csv.py | 1 + .../importers/fidelity/fidelity_cma_csv_examples/README.md | 4 ++++ .../fidelity_cma_csv_examples/fidelity-cma-csv.import | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/README.md diff --git a/beancount_reds_importers/importers/fidelity/fidelity_cma_csv.py b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv.py index d2b9076..af0c58d 100644 --- a/beancount_reds_importers/importers/fidelity/fidelity_cma_csv.py +++ b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv.py @@ -35,6 +35,7 @@ def custom_init(self): "Symbol": "security", "Price ($)": "unit_price", } + self.skip_transaction_types = [] # fmt: on def deep_identify(self, file): diff --git a/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/README.md b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/README.md new file mode 100644 index 0000000..1a4aafc --- /dev/null +++ b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/README.md @@ -0,0 +1,4 @@ +fidelity_cma_csv doesn't currently work, and needs to be fixed. Patches welcome. + +See [this link](https://groups.google.com/g/beancount/c/XqdlCfnZdQU/m/TksJQqjPAQAJ) for +details. diff --git a/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/fidelity-cma-csv.import b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/fidelity-cma-csv.import index 4301fe4..63afbe8 100755 --- a/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/fidelity-cma-csv.import +++ b/beancount_reds_importers/importers/fidelity/fidelity_cma_csv_examples/fidelity-cma-csv.import @@ -6,7 +6,7 @@ from os import path sys.path.insert(0, path.join(path.dirname(__file__))) -from beancount_reds_importers import fidelity_cma_csv +from beancount_reds_importers.importers.fidelity import fidelity_cma_csv fund_data = [ ('FZFXX', 'helllo', 'Fideilty Zero', ),