Automated update of Base Application package.
This commit is contained in:
parent
e96f1ee9cc
commit
c1a1a9b719
BIN
dist/app-1.0.0-py3-none-any.whl
vendored
BIN
dist/app-1.0.0-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/app-1.0.0.tar.gz
vendored
BIN
dist/app-1.0.0.tar.gz
vendored
Binary file not shown.
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
aiohttp
|
||||
aiohttp-jinja2
|
||||
dataset
|
||||
ipython
|
||||
openai
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user