diff --git a/app/paths/errors.py b/app/paths/errors.py index d2de3c8..9c1a354 100644 --- a/app/paths/errors.py +++ b/app/paths/errors.py @@ -1,6 +1,7 @@ """Custom error pages for FastAPI app""" from pathlib import Path +from typing import List from fastapi import Request, Response from fastapi import HTTPException @@ -10,7 +11,7 @@ from .. import respond from .. import common # Add other HTTP error codes -codes = [404, 500] +codes: List[int] = [404, 500] class ErrorsPaths(Paths):