Browse Source

feat: issue-2008 update doc strings

pull/10861/head
Volodymyr Kochetkov 1 year ago
parent
commit
4cc72c2647
  1. 16
      fastapi/applications.py
  2. 16
      fastapi/routing.py

16
fastapi/applications.py

@ -1796,7 +1796,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2178,7 +2178,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2565,7 +2565,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2952,7 +2952,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -3334,7 +3334,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -3716,7 +3716,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -4098,7 +4098,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -4485,7 +4485,7 @@ class FastAPI(Starlette):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,

16
fastapi/routing.py

@ -1692,7 +1692,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2078,7 +2078,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2469,7 +2469,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -2860,7 +2860,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -3246,7 +3246,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -3632,7 +3632,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -4023,7 +4023,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,
@ -4414,7 +4414,7 @@ class APIRouter(routing.Router):
Optional[bool], Optional[bool],
Doc( Doc(
""" """
Auto create options route. Automatically create a route to handle the OPTIONS HTTP verb.
""" """
), ),
] = False, ] = False,

Loading…
Cancel
Save