🐛 Fix `HTTPException` header type annotations (#9648)

This commit is contained in:
Sebastián Ramírez 2023-06-10 19:23:12 +02:00 committed by GitHub
parent ae5c51afa6
commit 6dd8e567cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class HTTPException(StarletteHTTPException):
self,
status_code: int,
detail: Any = None,
headers: Optional[Dict[str, Any]] = None,
headers: Optional[Dict[str, str]] = None,
) -> None:
super().__init__(status_code=status_code, detail=detail, headers=headers)