Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Mar 6, 2024
1 parent 8a85e20 commit 1b04485
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions deployment/azure/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
from starlette_cramjam.middleware import CompressionMiddleware

from titiler.application import __version__ as titiler_version
from titiler.application.main import templates
from titiler.application.main import cog, mosaic, stac, tms
from titiler.application.main import cog, mosaic, stac, templates, tms
from titiler.application.settings import ApiSettings
from titiler.core.errors import DEFAULT_STATUS_CODES, add_exception_handlers

from titiler.core.middleware import (
CacheControlMiddleware,
LoggerMiddleware,
Expand Down Expand Up @@ -99,8 +97,8 @@ def landing(request: Request):


async def main(
req: func.HttpRequest,
req: func.HttpRequest,
context: func.Context,
) -> func.HttpResponse:
"""Run App in AsgiMiddleware."""
return await func.AsgiMiddleware(app).handle_async(req, context)
return await func.AsgiMiddleware(app).handle_async(req, context)

0 comments on commit 1b04485

Please sign in to comment.