From 40f6856a800a4bca7e1e1a54ca13fed1aaf10288 Mon Sep 17 00:00:00 2001 From: Eric Masseran Date: Tue, 9 Jun 2020 12:11:30 +0200 Subject: [PATCH] Update the InternalServerError constructor type (#4210) --- third_party/2and3/werkzeug/exceptions.pyi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/third_party/2and3/werkzeug/exceptions.pyi b/third_party/2and3/werkzeug/exceptions.pyi index 64597646c..8552ad1b3 100644 --- a/third_party/2and3/werkzeug/exceptions.pyi +++ b/third_party/2and3/werkzeug/exceptions.pyi @@ -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