From: Bar Harel Date: Mon, 3 Aug 2020 06:43:04 +0000 (+0300) Subject: 🐛 Fix app.extra type annotation (#1659) X-Git-Tag: 0.60.2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1c5330b6526b706b1dc2d9b3301a3ec401ddca4;p=thirdparty%2Ffastapi%2Ffastapi.git 🐛 Fix app.extra type annotation (#1659) Co-authored-by: bar.harel --- diff --git a/fastapi/applications.py b/fastapi/applications.py index d5b70e116f..ab895d6574 100644 --- a/fastapi/applications.py +++ b/fastapi/applications.py @@ -51,7 +51,7 @@ class FastAPI(Starlette): openapi_prefix: str = "", root_path: str = "", root_path_in_servers: bool = True, - **extra: Dict[str, Any], + **extra: Any, ) -> None: self.default_response_class = default_response_class self._debug = debug