From 1b04485f4f03b7d0716c541b5267b9c989abb286 Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Wed, 6 Mar 2024 09:58:25 +0100 Subject: [PATCH] lint --- deployment/azure/app/__init__.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deployment/azure/app/__init__.py b/deployment/azure/app/__init__.py index e23f2902f..33e1d2939 100644 --- a/deployment/azure/app/__init__.py +++ b/deployment/azure/app/__init__.py @@ -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, @@ -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) \ No newline at end of file + return await func.AsgiMiddleware(app).handle_async(req, context)