satori-python-server 0.13.2__tar.gz → 0.13.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/PKG-INFO +1 -1
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/pyproject.toml +1 -1
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/__init__.py +2 -1
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/.mina/server.toml +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/LICENSE +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/README.md +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/adapter.py +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/conection.py +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/formdata.py +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/model.py +0 -0
- {satori_python_server-0.13.2 → satori_python_server-0.13.3}/src/satori/server/route.py +0 -0
|
@@ -75,6 +75,7 @@ class Server(Service, RouterMixin):
|
|
|
75
75
|
routers: list[Router]
|
|
76
76
|
_adapters: list[Adapter]
|
|
77
77
|
connections: list[WebsocketConnection]
|
|
78
|
+
session: aiohttp.ClientSession
|
|
78
79
|
|
|
79
80
|
def __init__(
|
|
80
81
|
self,
|
|
@@ -96,7 +97,6 @@ class Server(Service, RouterMixin):
|
|
|
96
97
|
self.routers = []
|
|
97
98
|
self.routes = {}
|
|
98
99
|
self.webhooks = webhooks or []
|
|
99
|
-
self.session = aiohttp.ClientSession()
|
|
100
100
|
self._tempdir = TemporaryDirectory()
|
|
101
101
|
self.proxy_url_mapping = {}
|
|
102
102
|
super().__init__()
|
|
@@ -253,6 +253,7 @@ class Server(Service, RouterMixin):
|
|
|
253
253
|
return res
|
|
254
254
|
|
|
255
255
|
async def launch(self, manager: Launart):
|
|
256
|
+
self.session = aiohttp.ClientSession()
|
|
256
257
|
for _adapter in self._adapters:
|
|
257
258
|
manager.add_component(_adapter)
|
|
258
259
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|