Skip to content

Commit

Permalink
remove disallowed default value for path parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed Jun 24, 2024
1 parent 8930676 commit f08f955
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/routes/raster_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
present for a selected dataset, the server will redirect the request to
the dynamic service and will attempt to generate it here
"""

import base64
import io
import json
Expand Down Expand Up @@ -81,9 +82,7 @@ async def dynamic_raster_tile(
async def static_raster_tile(
*,
dv: Tuple[str, str] = Depends(raster_tile_cache_version_dependency),
implementation: str = Path(
"default", description="Tile cache implementation name."
),
implementation: str = Path(..., description="Tile cache implementation name."),
xyz: Tuple[int, int, int] = Depends(raster_xyz),
background_tasks: BackgroundTasks,
) -> Response:
Expand Down

0 comments on commit f08f955

Please sign in to comment.