Skip to content
Snippets Groups Projects
Verified Commit 59bbca69 authored by Jakob Moser's avatar Jakob Moser
Browse files

Make annotation more specific

parent 44d9fde1
No related branches found
No related tags found
1 merge request!22Make MyPy happy
......@@ -6,7 +6,7 @@ bp = Blueprint("main", __name__)
@bp.get("/", defaults={"_": ""})
@bp.get("/<path:_>")
def index(_: object) -> str:
def index(_: str) -> str:
"""
Serve the index page at /*, i.e. at any path below / and at / itself.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment