From 4a0316bcfe672564b69d0f45fd55238f38bac44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 28 Dec 2018 20:39:04 +0400 Subject: [PATCH] :art: Add missing type definition --- fastapi/security/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(" ")