mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Update the InternalServerError constructor type (#4210)
This commit is contained in:
1 parent
f4b23e4a80
commit
40f6856a80
1 file changed
+6
+6
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user