From a49459da6d6407b30b5af92ba68aa8f91ad1fd01 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 8 Mar 2023 18:29:54 +0000 Subject: [PATCH] Remove some comments --- core/clients/aggregators/nordigen.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/clients/aggregators/nordigen.py b/core/clients/aggregators/nordigen.py index c8b3bd8..c8c44a6 100644 --- a/core/clients/aggregators/nordigen.py +++ b/core/clients/aggregators/nordigen.py @@ -134,14 +134,6 @@ class NordigenClient(BaseClient): if "bban" in parsed and parsed["currency"] == "GBP": sort_code = parsed["bban"][0:6] account_number = parsed["bban"][6:] - # if "ownerName" not in parsed: - # ownernames = self.get_ownernames() - # if account_id in ownernames: - # parsed["ownerName"] = ownernames[account_id] - - # else: - # return False - # recipient = parsed["ownerName"] del parsed["bban"] if "iban" in parsed: del parsed["iban"] @@ -151,25 +143,18 @@ class NordigenClient(BaseClient): parsed["recipient"] = "TODO" # Let's add the account ID so we can reference it later parsed["account_id"] = account_id - print("PARSED", parsed) return parsed async def get_all_account_info(self, requisition=None): - print("GET ALL ACCOU T INFO", requisition) to_return = {} if not requisition: raise NotImplementedError # requisitions = await self.get_requisitions() else: requisitions = [await self.get_requisition(requisition)] - print("REQUISITIONS", requisitions) - - print("REQUISITIONS", requisitions) for req in requisitions: - print("REQ ITER", req) accounts = req["accounts"] - print("ACCOUNTS", accounts) for account_id in accounts: account_info = await self.get_account(account_id) if not account_info: