We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bfa9b6f + c1bffde commit 51ca9a8Copy full SHA for 51ca9a8
raster_api/runtime/src/app.py
@@ -205,9 +205,8 @@ async def lifespan(app: FastAPI):
205
###############################################################################
206
# Colormaps endpoints
207
208
-cmaps = ColorMapFactory()
209
# Set supported colormaps to be the modified cmap list with added colormaps
210
-cmaps.supported_colormaps = cmap
+cmaps = ColorMapFactory(supported_colormaps=cmap)
211
app.include_router(cmaps.router, tags=["ColorMaps"])
212
213
0 commit comments