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

Make annotation for parameter more specific

parent 7fa961af
No related branches found
No related tags found
1 merge request!22Make MyPy happy
......@@ -5,7 +5,7 @@ from .blueprint import bp
@bp.get("/<path:_>")
def fallback_not_found(_: object) -> ProblemResponse:
def fallback_not_found(_: str) -> ProblemResponse:
"""
If you can't find a matching API endpoint, fallback to returning a 404.
......
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