From e41ea07855f201b86b8fa787e7bc4ae34276602d Mon Sep 17 00:00:00 2001 From: ric-evans Date: Thu, 27 Jun 2024 16:44:45 -0400 Subject: [PATCH] mypy (py 3.8) --- rest_tools/utils/auth.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rest_tools/utils/auth.py b/rest_tools/utils/auth.py index 9a65ae2d..7f558780 100644 --- a/rest_tools/utils/auth.py +++ b/rest_tools/utils/auth.py @@ -1,12 +1,11 @@ """auth.py.""" - # fmt:off import json import logging import time -from typing import Dict, Optional, Union +from typing import Dict, List, Optional, Union import jwt import requests @@ -132,7 +131,7 @@ class OpenIDAuth(_AuthValidate): def __init__( self, url: str, - provider_info: Optional[Dict[str, Union[str, list[str]]]] = None, + provider_info: Optional[Dict[str, Union[str, List[str]]]] = None, **kwargs, ): super().__init__(**kwargs)