diff --git a/fastapi/security/utils.py b/fastapi/security/utils.py index 3ddd83a43..2da0dd20f 100644 --- a/fastapi/security/utils.py +++ b/fastapi/security/utils.py @@ -1,4 +1,7 @@ -def get_authorization_scheme_param(authorization_header_value: str): +from typing import Tuple + + +def get_authorization_scheme_param(authorization_header_value: str) -> Tuple[str, str]: if not authorization_header_value: return "", "" scheme, _, param = authorization_header_value.partition(" ")