@@ -89,7 +89,9 @@ def get_processes(
89
89
),
90
90
cursor : str | None = fastapi .Query (None , include_in_schema = False ),
91
91
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
+ ),
93
95
) -> ogc_api_processes_fastapi .models .ProcessList :
94
96
"""Implement OGC API - Processes `GET /processes` endpoint.
95
97
@@ -146,7 +148,9 @@ def get_process(
146
148
self ,
147
149
response : fastapi .Response ,
148
150
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
+ ),
150
154
) -> ogc_api_processes_fastapi .models .ProcessDescription :
151
155
"""Implement OGC API - Processes `GET /processes/{process_id}` endpoint.
152
156
@@ -200,7 +204,9 @@ def post_process_execution(
200
204
request : fastapi .Request ,
201
205
process_id : str = fastapi .Path (..., description = "Process identifier." ),
202
206
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
+ ),
204
210
) -> models .StatusInfo :
205
211
"""Implement OGC API - Processes `POST /processes/{process_id}/execution` endpoint.
206
212
@@ -355,7 +361,9 @@ def get_jobs(
355
361
),
356
362
cursor : str | None = fastapi .Query (None , include_in_schema = False ),
357
363
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
+ ),
359
367
) -> models .JobList :
360
368
"""Implement OGC API - Processes `GET /jobs` endpoint.
361
369
@@ -488,7 +496,9 @@ def get_job(
488
496
alias = "logStartTime" ,
489
497
description = "Datetime of the first log message to be returned." ,
490
498
),
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
+ ),
492
502
) -> models .StatusInfo :
493
503
"""Implement OGC API - Processes `GET /jobs/{job_id}` endpoint.
494
504
@@ -614,7 +624,9 @@ def get_job(
614
624
def get_job_results (
615
625
self ,
616
626
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
+ ),
618
630
) -> ogc_api_processes_fastapi .models .Results :
619
631
"""Implement OGC API - Processes `GET /jobs/{job_id}/results` endpoint.
620
632
@@ -677,7 +689,9 @@ def get_job_results(
677
689
def delete_job (
678
690
self ,
679
691
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
+ ),
681
695
) -> models .StatusInfo :
682
696
"""Implement OGC API - Processes `DELETE /jobs/{job_id}` endpoint.
683
697
0 commit comments