Single line summaries of docstrings
This commit is contained in:
parent
35d47fe3ed
commit
4dc41bb008
20 changed files with 153 additions and 115 deletions
|
|
@ -9,7 +9,8 @@ THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
|||
|
||||
|
||||
def add_static_file(app: FastAPI, fname: str, folder: str) -> None:
|
||||
"""Add a single file to the root of the FastAPI app
|
||||
"""Add a single file to the root of the FastAPI app.
|
||||
|
||||
The file with name ``fname`` will be mounted at ``/fname`` - the
|
||||
``folder`` does not affect where it is mounted in the app.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue