cent
Advanced tools
@@ -63,7 +63,1 @@ import asyncio | ||
| return raw_result | ||
| def __del__(self) -> None: | ||
| if self._session and not self._session.closed: | ||
| if self._session.connector is not None and self._session.connector_owner: | ||
| self._session.connector.close() | ||
| self._session._connector = None |
@@ -60,4 +60,1 @@ from typing import Optional, Dict, Any | ||
| return raw_result.text | ||
| def __del__(self) -> None: | ||
| self.close() |
+4
-0
@@ -237,2 +237,5 @@ import json | ||
| tags (Optional[Dict[str, str]]): Tags are optional. | ||
| info (Optional[ClientInfo]): ClientInfo appended to publication only if publication was | ||
| sent using client SDK's publish method. If publication was sent over server publish API | ||
| this info object is missing as we don't have publisher client context in that case | ||
| """ | ||
@@ -243,2 +246,3 @@ | ||
| tags: Optional[Dict[str, str]] = None | ||
| info: Optional[ClientInfo] = None | ||
@@ -245,0 +249,0 @@ |
+6
-4
@@ -1,6 +0,7 @@ | ||
| Metadata-Version: 2.3 | ||
| Metadata-Version: 2.4 | ||
| Name: cent | ||
| Version: 5.1.0 | ||
| Summary: Python library to communicate with Centrifugo v5 server HTTP API | ||
| Version: 5.2.0 | ||
| Summary: Python library to communicate with Centrifugo server HTTP API | ||
| License: MIT | ||
| License-File: LICENSE | ||
| Author: Alexander Emelin | ||
@@ -21,2 +22,3 @@ Requires-Python: >=3.9,<4.0 | ||
| Classifier: Programming Language :: Python :: 3.13 | ||
| Classifier: Programming Language :: Python :: 3.14 | ||
| Classifier: Topic :: Internet :: WWW/HTTP | ||
@@ -29,3 +31,3 @@ Classifier: Topic :: Software Development | ||
| Requires-Dist: aiohttp (>=3,<4) | ||
| Requires-Dist: pydantic (>=2,<3) | ||
| Requires-Dist: pydantic (>=2.8,<3.0) | ||
| Requires-Dist: requests (>=2,<3) | ||
@@ -32,0 +34,0 @@ Requires-Dist: types-requests (>=2,<3) |
+5
-3
| [tool.poetry] | ||
| name = "cent" | ||
| version = "5.1.0" | ||
| description = "Python library to communicate with Centrifugo v5 server HTTP API" | ||
| version = "5.2.0" | ||
| description = "Python library to communicate with Centrifugo server HTTP API" | ||
| authors = ["Alexander Emelin", "Katant Savelev", "Bogdan Evstratenko"] | ||
@@ -15,2 +15,4 @@ license = "MIT" | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "Programming Language :: Python :: 3.14", | ||
| "Environment :: Console", | ||
@@ -31,3 +33,3 @@ "Intended Audience :: Developers", | ||
| aiohttp = "^3" | ||
| pydantic = "^2" | ||
| pydantic = "^2.8" | ||
| requests = "^2" | ||
@@ -34,0 +36,0 @@ types-requests = "^2" |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
82751
0.21%1912
-0.16%