Automated update of Base Application package.

This commit is contained in:
bot 2024-12-05 18:07:31 +00:00
parent 092de8827d
commit c75fba6de0
4 changed files with 3 additions and 5 deletions

Binary file not shown.

BIN
dist/app-1.0.0.tar.gz vendored

Binary file not shown.

View File

@ -7,6 +7,3 @@ logging.basicConfig(
) )
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
from .app import Application as BaseApplication

View File

@ -1,7 +1,8 @@
import base64
import json import json
import time import time
import uuid import uuid
import base64
import dataset import dataset
from aiohttp import web from aiohttp import web
@ -35,7 +36,7 @@ class BaseApplication(web.Application):
middlewares.append(self.request_middleware) middlewares.append(self.request_middleware)
middlewares.append(self.base64_auth_middleware) middlewares.append(self.base64_auth_middleware)
middlewares.append(self.session_middleware) middlewares.append(self.session_middleware)
super().__init__(middlewares=middlewares,*args, **kwargs) super().__init__(middlewares=middlewares, *args, **kwargs)
def run(self, *args, **kwargs): def run(self, *args, **kwargs):
web.run_app(self, *args, **kwargs) web.run_app(self, *args, **kwargs)