]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔥 Remove unnecessary duplicated docstrings (#10484)
authorSebastián Ramírez <tiangolo@gmail.com>
Fri, 20 Oct 2023 08:27:26 +0000 (12:27 +0400)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 08:27:26 +0000 (12:27 +0400)
fastapi/applications.py
fastapi/routing.py

index 46b7ae81b4545273fc162aa44e6fcecdfa86065f..8ca374a54e713d52c734b9202f6398acede34f82 100644 (file)
@@ -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.
index e33e1d83277b05d60e10d87c38ed4b11d2361a84..54d53bbbfb81222c01b4cd9463d187c6b60b4e21 100644 (file)
@@ -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.