Disable generic format check for collection_coverage (#1705)

* Disable generic format check for collection_coverage

This view can and must handle custom format

* Remove trailing comma
This commit is contained in:
Bernhard Mallinger
2024-07-04 08:53:28 +02:00
committed by GitHub
parent bcc5b79c9f
commit 2b00cf2eaf
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -269,7 +269,8 @@ def collection_coverage(request: HttpRequest,
"""
return execute_from_django(
coverages_api.get_collection_coverage, request, collection_id
coverages_api.get_collection_coverage, request, collection_id,
skip_valid_check=True
)
+1 -1
View File
@@ -327,7 +327,7 @@ def collection_coverage(collection_id):
"""
return execute_from_flask(coverages_api.get_collection_coverage, request,
collection_id)
collection_id, skip_valid_check=True)
@BLUEPRINT.route('/collections/<path:collection_id>/tiles')
+2 -1
View File
@@ -391,7 +391,8 @@ async def collection_coverage(request: Request, collection_id=None):
collection_id = request.path_params['collection_id']
return await execute_from_starlette(
coverages_api.get_collection_coverage, request, collection_id)
coverages_api.get_collection_coverage, request, collection_id,
skip_valid_check=True)
async def collection_map(request: Request, collection_id, style_id=None):