mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-03 05:03:59 -04:00
🎨 Add missing type definition
This commit is contained in:
@@ -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(" ")
|
||||
|
||||
Reference in New Issue
Block a user