Verified Commit e2e69b26 authored by Jakob Moser's avatar Jakob Moser
Browse files

Make annotation for parameter more specific

parent 7fa961af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.