Automated update of Base Application package.

This commit is contained in:
bot 2024-12-28 15:30:27 +00:00
parent e96f1ee9cc
commit c1a1a9b719
5 changed files with 9 additions and 4 deletions

Binary file not shown.

BIN
dist/app-1.0.0.tar.gz vendored

Binary file not shown.

View File

@ -8,6 +8,7 @@ License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aiohttp
Requires-Dist: aiohttp-jinja2
Requires-Dist: dataset
Requires-Dist: ipython
Requires-Dist: openai

View File

@ -1,4 +1,5 @@
aiohttp
aiohttp-jinja2
dataset
ipython
openai

View File

@ -1,12 +1,11 @@
import argparse
import base64
import json
import pathlib
import time
import uuid
import pathlib
import aiohttp_jinja2
import jinja2
import aiohttp_jinja2
import dataset
from aiohttp import web
@ -44,7 +43,11 @@ class BaseApplication(RPCApplication):
middlewares.append(self.request_middleware)
middlewares.append(self.base64_auth_middleware)
middlewares.append(self.session_middleware)
self.template_path = template_path and template_path or pathlib.Path(__file__).parent / "templates"
self.template_path = (
template_path
and template_path
or pathlib.Path(__file__).parent / "templates"
)
self.agents = {}
super().__init__(middlewares=middlewares, *args, **kwargs)