From: Sebastián Ramírez Date: Fri, 20 Oct 2023 08:27:26 +0000 (+0400) Subject: 🔥 Remove unnecessary duplicated docstrings (#10484) X-Git-Tag: 0.104.1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c13aa9ed5f19feccdb41a8af465cbaa1de218630;p=thirdparty%2Ffastapi%2Ffastapi.git 🔥 Remove unnecessary duplicated docstrings (#10484) --- diff --git a/fastapi/applications.py b/fastapi/applications.py index 46b7ae81b4..8ca374a54e 100644 --- a/fastapi/applications.py +++ b/fastapi/applications.py @@ -86,13 +86,6 @@ class FastAPI(Starlette): **Note**: you probably shouldn't use this parameter, it is inherited from Starlette and supported for compatibility. - In FastAPI, you normally would use the *path operation* decorators, - like: - - * `app.get()` - * `app.post()` - * etc. - --- A list of routes to serve incoming HTTP and WebSocket requests. diff --git a/fastapi/routing.py b/fastapi/routing.py index e33e1d8327..54d53bbbfb 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -624,13 +624,6 @@ class APIRouter(routing.Router): **Note**: you probably shouldn't use this parameter, it is inherited from Starlette and supported for compatibility. - In FastAPI, you normally would use the *path operation* decorators, - like: - - * `router.get()` - * `router.post()` - * etc. - --- A list of routes to serve incoming HTTP and WebSocket requests.