@@ -89,7 +89,9 @@ def get_processes(
8989 ),
9090 cursor : str | None = fastapi .Query (None , include_in_schema = False ),
9191 back : bool | None = fastapi .Query (None , include_in_schema = False ),
92- portals : tuple [str ] | None = fastapi .Depends (utils .get_portals ),
92+ portals : tuple [str ] | None = fastapi .Depends (
93+ exceptions .exception_logger (utils .get_portals )
94+ ),
9395 ) -> ogc_api_processes_fastapi .models .ProcessList :
9496 """Implement OGC API - Processes `GET /processes` endpoint.
9597
@@ -146,7 +148,9 @@ def get_process(
146148 self ,
147149 response : fastapi .Response ,
148150 process_id : str = fastapi .Path (..., description = "Process identifier." ),
149- portals : tuple [str ] | None = fastapi .Depends (utils .get_portals ),
151+ portals : tuple [str ] | None = fastapi .Depends (
152+ exceptions .exception_logger (utils .get_portals )
153+ ),
150154 ) -> ogc_api_processes_fastapi .models .ProcessDescription :
151155 """Implement OGC API - Processes `GET /processes/{process_id}` endpoint.
152156
@@ -200,7 +204,9 @@ def post_process_execution(
200204 request : fastapi .Request ,
201205 process_id : str = fastapi .Path (..., description = "Process identifier." ),
202206 execution_content : models .Execute = fastapi .Body (...),
203- auth_info : models .AuthInfo = fastapi .Depends (auth .get_auth_info ),
207+ auth_info : models .AuthInfo = fastapi .Depends (
208+ exceptions .exception_logger (auth .get_auth_info )
209+ ),
204210 ) -> models .StatusInfo :
205211 """Implement OGC API - Processes `POST /processes/{process_id}/execution` endpoint.
206212
@@ -355,7 +361,9 @@ def get_jobs(
355361 ),
356362 cursor : str | None = fastapi .Query (None , include_in_schema = False ),
357363 back : bool | None = fastapi .Query (None , include_in_schema = False ),
358- auth_info : models .AuthInfo = fastapi .Depends (auth .get_auth_info ),
364+ auth_info : models .AuthInfo = fastapi .Depends (
365+ exceptions .exception_logger (auth .get_auth_info )
366+ ),
359367 ) -> models .JobList :
360368 """Implement OGC API - Processes `GET /jobs` endpoint.
361369
@@ -488,7 +496,9 @@ def get_job(
488496 alias = "logStartTime" ,
489497 description = "Datetime of the first log message to be returned." ,
490498 ),
491- auth_info : models .AuthInfo = fastapi .Depends (auth .get_auth_info ),
499+ auth_info : models .AuthInfo = fastapi .Depends (
500+ exceptions .exception_logger (auth .get_auth_info )
501+ ),
492502 ) -> models .StatusInfo :
493503 """Implement OGC API - Processes `GET /jobs/{job_id}` endpoint.
494504
@@ -614,7 +624,9 @@ def get_job(
614624 def get_job_results (
615625 self ,
616626 job_id : str = fastapi .Path (..., description = "Job identifier." ),
617- auth_info : models .AuthInfo = fastapi .Depends (auth .get_auth_info ),
627+ auth_info : models .AuthInfo = fastapi .Depends (
628+ exceptions .exception_logger (auth .get_auth_info )
629+ ),
618630 ) -> ogc_api_processes_fastapi .models .Results :
619631 """Implement OGC API - Processes `GET /jobs/{job_id}/results` endpoint.
620632
@@ -677,7 +689,9 @@ def get_job_results(
677689 def delete_job (
678690 self ,
679691 job_id : str = fastapi .Path (..., description = "Job identifier." ),
680- auth_info : models .AuthInfo = fastapi .Depends (auth .get_auth_info ),
692+ auth_info : models .AuthInfo = fastapi .Depends (
693+ exceptions .exception_logger (auth .get_auth_info )
694+ ),
681695 ) -> models .StatusInfo :
682696 """Implement OGC API - Processes `DELETE /jobs/{job_id}` endpoint.
683697
0 commit comments