clean up typing a bit more
This commit is contained in:
@@ -18,7 +18,7 @@ class AmazonAccount:
|
||||
password: str
|
||||
|
||||
|
||||
def get_accounts(env: dict[str, str] = os.environ) -> list[AmazonAccount]:
|
||||
def get_accounts(env: os._Environ | dict[str, str] = os.environ) -> list[AmazonAccount]:
|
||||
accts = []
|
||||
for k, v in env.items():
|
||||
if k == 'AMAZON_EMAIL':
|
||||
|
||||
Reference in New Issue
Block a user