Update the InternalServerError constructor type (#4210)

This commit is contained in:
Eric Masseran
2020-06-09 12:11:30 +02:00
committed by GitHub
parent f4b23e4a80
commit 40f6856a80

View File

@@ -147,6 +147,12 @@ class UnavailableForLegalReasons(HTTPException):
description: Text
class InternalServerError(HTTPException):
def __init__(
self,
description: Optional[Text] = ...,
response: Optional[Response] = ...,
original_exception: Optional[Exception] = ...,
) -> None: ...
code: int
description: Text