mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-08 03:26:48 +00:00
🎨 Add missing type definition
This commit is contained in:
parent
0393a093d3
commit
4a0316bcfe
1 changed files with 4 additions and 1 deletions
|
|
@ -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 a new issue