From f8371292863f215b7606fa9b1de8b2d0a9026d54 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:47:47 +0000 Subject: [PATCH] style: format code with Black and isort This commit fixes the style issues introduced in 5fc0550 according to the output from Black and isort. Details: None --- fidelityAPI.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fidelityAPI.py b/fidelityAPI.py index eeb5f544..1389bf53 100755 --- a/fidelityAPI.py +++ b/fidelityAPI.py @@ -157,7 +157,9 @@ def fidelity_holdings(fidelity_o: Brokerage, name: str, loop=None): """ # Get the browser back from the fidelity object - fidelity_browser: fidelity.FidelityAutomation = fidelity_o.get_logged_in_objects(name) + fidelity_browser: fidelity.FidelityAutomation = fidelity_o.get_logged_in_objects( + name + ) account_dict = fidelity_browser.account_dict for account_number in account_dict: @@ -196,7 +198,9 @@ def fidelity_transaction( """ # Get the driver - fidelity_browser: fidelity.FidelityAutomation = fidelity_o.get_logged_in_objects(name) + fidelity_browser: fidelity.FidelityAutomation = fidelity_o.get_logged_in_objects( + name + ) # Get full list of accounts in case some had no holdings fidelity_browser.get_list_of_accounts() # Go trade