]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🐛 Fix app.extra type annotation (#1659)
authorBar Harel <bzvi7919@gmail.com>
Mon, 3 Aug 2020 06:43:04 +0000 (09:43 +0300)
committerGitHub <noreply@github.com>
Mon, 3 Aug 2020 06:43:04 +0000 (08:43 +0200)
Co-authored-by: bar.harel <bar.harel@biocatch.com>
fastapi/applications.py

index d5b70e116f6e4aa86c0851750a081a0e44cb6cc6..ab895d65745fc379fd916fa43869d3c1396c718d 100644 (file)
@@ -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