Remove some comments
This commit is contained in:
parent
c0dc41a63a
commit
a49459da6d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue