mirror of https://github.com/tiangolo/fastapi.git
🎨 Add missing type definition
This commit is contained in:
parent
0393a093d3
commit
4a0316bcfe
|
|
@ -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(" ")
|
||||
|
|
|
|||
Loading…
Reference in New Issue