RubigramClient 1.4.9__tar.gz → 1.5.0__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.

Potentially problematic release.


This version of RubigramClient might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.4.9
3
+ Version: 1.5.0
4
4
  Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
5
5
  Author-email: Javad RZ <Javad.Py1385@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RubigramClient
3
- Version: 1.4.9
3
+ Version: 1.5.0
4
4
  Summary: A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters.
5
5
  Author-email: Javad RZ <Javad.Py1385@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "RubigramClient"
3
- version = "1.4.9"
3
+ version = "1.5.0"
4
4
  description = "A simple and flexible Python library for building advanced Rubika bots with powerful message handling, inline buttons, and custom filters."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.7"
@@ -109,9 +109,15 @@ class Client(Method):
109
109
  app = web.Application()
110
110
  app.add_routes(self.routes)
111
111
 
112
- async def on_startup(_):
112
+ async def on_startup(app):
113
113
  await self.set_endpoints()
114
+ await self.start()
115
+
116
+ async def on_cleanup(app):
117
+ await self.stop()
118
+
114
119
  app.on_startup.append(on_startup)
120
+ app.on_cleanup.append(on_cleanup)
115
121
  web.run_app(app, host=self.host, port=self.port)
116
122
 
117
123
  else:
File without changes
File without changes
File without changes