From 7af3762184dbc3f1175b1945f800397993536595 Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Sun, 10 Mar 2024 09:58:41 +0100 Subject: [PATCH] fixed imports --- .../src/gunicorn_logging_extension/__init__.py | 2 +- .../src/gunicorn_logging_extension/aiohttp.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py b/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py index c3f3ec9..3594561 100644 --- a/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py +++ b/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py @@ -11,7 +11,7 @@ from logging.config import dictConfig, fileConfig from gunicorn.glogging import CONFIG_DEFAULTS from gunicorn.glogging import Logger as gLogger -__version__ = "0.0.10" +__version__ = "0.0.11" CONFIG_DEFAULTS = { diff --git a/gunicorn-logging-extension/src/gunicorn_logging_extension/aiohttp.py b/gunicorn-logging-extension/src/gunicorn_logging_extension/aiohttp.py index ea89e0d..b501368 100644 --- a/gunicorn-logging-extension/src/gunicorn_logging_extension/aiohttp.py +++ b/gunicorn-logging-extension/src/gunicorn_logging_extension/aiohttp.py @@ -1,6 +1,10 @@ +import asyncio +import os from typing import Type +from aiohttp import web from aiohttp.abc import AbstractAccessLogger +from aiohttp.web_app import Application from aiohttp.web_request import BaseRequest from aiohttp.web_response import StreamResponse