Add missing type annotation
This commit is contained in:
parent
da4a545a00
commit
386ccf63b3
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
import jinja2
|
import jinja2
|
||||||
from fastapi import APIRouter, HTTPException, Response, status
|
from fastapi import APIRouter, FastAPI, HTTPException, Response, status
|
||||||
from fastapi.responses import RedirectResponse
|
from fastapi.responses import RedirectResponse
|
||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
|
|
||||||
|
|
@ -34,7 +34,7 @@ FOOTER_HTML = """\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def mount(app) -> None:
|
def mount(app: FastAPI) -> None:
|
||||||
"""Render and and mount the webui templates.
|
"""Render and and mount the webui templates.
|
||||||
|
|
||||||
Files and Jinja templates are rendered and copied to a working
|
Files and Jinja templates are rendered and copied to a working
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue