Skip to content

Commit 6bd9ef0

Browse files
authored
Merge pull request #67 from ecmwf-projects/fix-types
Fix types
2 parents bfcac0e + 918c845 commit 6bd9ef0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ogc_api_processes_fastapi/exceptions.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def include_exception_handlers(
100100
fastapi.FastAPI
101101
FastAPI application including OGC API - Processes compliant exceptions handlers.
102102
"""
103-
app.add_exception_handler(NoSuchProcess, exception_handler)
104-
app.add_exception_handler(NoSuchJob, exception_handler)
105-
app.add_exception_handler(ResultsNotReady, exception_handler)
106-
app.add_exception_handler(JobResultsFailed, exception_handler)
103+
app.add_exception_handler(NoSuchProcess, exception_handler) # type: ignore
104+
app.add_exception_handler(NoSuchJob, exception_handler) # type: ignore
105+
app.add_exception_handler(ResultsNotReady, exception_handler) # type: ignore
106+
app.add_exception_handler(JobResultsFailed, exception_handler) # type: ignore
107107
return app

0 commit comments

Comments
 (0)