From 90825e2714096331ca38a7c17a778a4117d64f0a Mon Sep 17 00:00:00 2001 From: Solomon Negusse Date: Mon, 28 Oct 2024 18:20:30 +0300 Subject: [PATCH] remove unused implementation query param from titiler endpoint --- app/routes/titiler/integrated_alerts.py | 3 +-- app/routes/titiler/umd_glad_dist_alerts.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/routes/titiler/integrated_alerts.py b/app/routes/titiler/integrated_alerts.py index e7583916..88f5d2e8 100644 --- a/app/routes/titiler/integrated_alerts.py +++ b/app/routes/titiler/integrated_alerts.py @@ -9,7 +9,7 @@ from ...crud.sync_db.tile_cache_assets import get_versions from ...models.enumerators.tile_caches import TileCacheType from ...models.enumerators.titiler import IntegratedAlertConfidence, RenderType -from .. import DATE_REGEX, optional_implementation_dependency, raster_xyz +from .. import DATE_REGEX, raster_xyz from .algorithms.integrated_alerts import IntegratedAlerts from .readers import AlertsReader @@ -68,7 +68,6 @@ async def gfw_integrated_alerts_raster_tile( IntegratedAlertConfidence.low, description="Show alerts with at least this confidence level", ), - implementation: str = Depends(optional_implementation_dependency), ) -> Response: """GFW Integrated Alerts raster tiles.""" diff --git a/app/routes/titiler/umd_glad_dist_alerts.py b/app/routes/titiler/umd_glad_dist_alerts.py index a740ae46..fa5d41e8 100644 --- a/app/routes/titiler/umd_glad_dist_alerts.py +++ b/app/routes/titiler/umd_glad_dist_alerts.py @@ -8,7 +8,7 @@ from titiler.core.utils import render_image from ...models.enumerators.titiler import AlertConfidence, RenderType -from .. import DATE_REGEX, optional_implementation_dependency, raster_xyz +from .. import DATE_REGEX, raster_xyz from .algorithms.dist_alerts import DISTAlerts from .readers import AlertsReader @@ -49,7 +49,6 @@ async def glad_dist_alerts_raster_tile( AlertConfidence.low, description="Show alerts that are at least of this confidence level", ), - implementation: str = Depends(optional_implementation_dependency), ) -> Response: """UMD GLAD DIST alerts raster tiles."""