zenx 0.9.9__py3-none-any.whl → 0.10.0__py3-none-any.whl

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.
zenx/clients/http.py CHANGED
@@ -199,6 +199,6 @@ class CurlCffi(HttpClient):
199
199
  count = self._session_pool.qsize()
200
200
  async with asyncio.TaskGroup() as tg:
201
201
  while not self._session_pool.empty():
202
- session: AsyncSession = await self._session_pool.get()
203
- tg.create_task(session.close())
202
+ session_wrapper: SessionWrapper = await self._session_pool.get()
203
+ tg.create_task(session_wrapper._self.close())
204
204
  self.logger.debug("closed", sessions=count, client=self.name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zenx
3
- Version: 0.9.9
3
+ Version: 0.10.0
4
4
  Summary: mini-framework
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: curl-cffi>=0.12.0
@@ -8,7 +8,7 @@ zenx/settings.py,sha256=anTT_jSQxwIabBHCM7egYFUOnALxp4fF_26_2ZPtTt4,1044
8
8
  zenx/utils.py,sha256=ouvXUd3-HaxLS3dDKbshEf-CXRf44OcovziEVIRsWNs,725
9
9
  zenx/clients/__init__.py,sha256=CaAAuNa8DPyMdejR0KNSDDg_UzC3WxaTol5_QvwwwG8,132
10
10
  zenx/clients/database.py,sha256=AF-L7iYrWRNzUZKn7taveiihpu--mXXC6eWOrMNlqzQ,4806
11
- zenx/clients/http.py,sha256=4XjKaMpXVrzuRbuHmegV2RHhsWzIFVY3BsofO21DEbQ,7458
11
+ zenx/clients/http.py,sha256=glta63ANZdDZhBE9LiW590dSvPPSufkpun811LghF08,7482
12
12
  zenx/pipelines/__init__.py,sha256=IxkZ0UpEJdYjLdd-PMcC9PzzzArTBNNcpgKc7NiOe5Y,131
13
13
  zenx/pipelines/base.py,sha256=N_388z5DFMeaU6wMwcClZAbQFWKh4kpAF7eUJhpQevs,1863
14
14
  zenx/pipelines/discord.py,sha256=4Ea52PzAViQZTVkwzvN9VxzjGVV_O4pMrqeOswtpkUo,2528
@@ -21,8 +21,8 @@ zenx/resources/proto/feed_pb2.py,sha256=ZyICOLnyuXekkvV4bAHZ1nE1-wwzcYYRRrmRJCMr
21
21
  zenx/resources/proto/feed_pb2_grpc.py,sha256=Mim6FfBgIMj0PmTqHk036nVUMJH3A6I3ts6r1j3bQF8,7441
22
22
  zenx/spiders/__init__.py,sha256=rs5LuqdM2MQlUYiTGJrzkYhzN8_SSLTrR7wGjSRrrSo,25
23
23
  zenx/spiders/base.py,sha256=MeZ3wZOPOyOX4V2ufFXtYGCDtXHZO_mNfnXdKMkisuQ,1951
24
- zenx-0.9.9.dist-info/METADATA,sha256=kx0WbO5qNOQhwY5foMaz5SoPTT_RfN8GohTZXti_iA0,1421
25
- zenx-0.9.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- zenx-0.9.9.dist-info/entry_points.txt,sha256=8JXob2f1VtvzGFris-e9Usqywg7oca-cChDlH9moOZU,38
27
- zenx-0.9.9.dist-info/top_level.txt,sha256=JeXwvK86d7sB-2x-avugFnZIZa33zaHWKI8RHWJR6KY,5
28
- zenx-0.9.9.dist-info/RECORD,,
24
+ zenx-0.10.0.dist-info/METADATA,sha256=SXzbwyhe6zvVW4vVmMwg6-s0ST8lK18l99EyEqTs7J0,1422
25
+ zenx-0.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ zenx-0.10.0.dist-info/entry_points.txt,sha256=8JXob2f1VtvzGFris-e9Usqywg7oca-cChDlH9moOZU,38
27
+ zenx-0.10.0.dist-info/top_level.txt,sha256=JeXwvK86d7sB-2x-avugFnZIZa33zaHWKI8RHWJR6KY,5
28
+ zenx-0.10.0.dist-info/RECORD,,
File without changes