clean up typing a bit more

This commit is contained in:
2025-12-07 08:32:45 -05:00
parent dda8c3403d
commit 2509c4dd70
2 changed files with 28 additions and 26 deletions

View File

@@ -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':