🎨 Add missing type definition

This commit is contained in:
Sebastián Ramírez 2018-12-28 20:39:04 +04:00
parent 0393a093d3
commit 4a0316bcfe
1 changed files with 4 additions and 1 deletions

View File

@ -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(" ")