Skip to content

Commit

Permalink
Merge pull request #67 from ecmwf-projects/fix-types
Browse files Browse the repository at this point in the history
Fix types
  • Loading branch information
mcucchi9 authored Feb 8, 2024
2 parents bfcac0e + 918c845 commit 6bd9ef0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ogc_api_processes_fastapi/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def include_exception_handlers(
fastapi.FastAPI
FastAPI application including OGC API - Processes compliant exceptions handlers.
"""
app.add_exception_handler(NoSuchProcess, exception_handler)
app.add_exception_handler(NoSuchJob, exception_handler)
app.add_exception_handler(ResultsNotReady, exception_handler)
app.add_exception_handler(JobResultsFailed, exception_handler)
app.add_exception_handler(NoSuchProcess, exception_handler) # type: ignore
app.add_exception_handler(NoSuchJob, exception_handler) # type: ignore
app.add_exception_handler(ResultsNotReady, exception_handler) # type: ignore
app.add_exception_handler(JobResultsFailed, exception_handler) # type: ignore
return app

0 comments on commit 6bd9ef0

Please sign in to comment.