feat: Обновление до Python 3.14
This commit is contained in:
@@ -1 +1 @@
|
|||||||
3.13
|
3.14t
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "PyG2O"
|
|||||||
version = "2.3.3"
|
version = "2.3.3"
|
||||||
description = ""
|
description = ""
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fastapi>=0.116.1",
|
"fastapi>=0.116.1",
|
||||||
"uvicorn>=0.35.0",
|
"uvicorn>=0.35.0",
|
||||||
|
|||||||
@@ -99,6 +99,7 @@ class Server:
|
|||||||
async def _handle_connection(cls, connection: WebSocket, token: str, topics: str):
|
async def _handle_connection(cls, connection: WebSocket, token: str, topics: str):
|
||||||
|
|
||||||
if not await cls._process_query_params(connection, token, topics):
|
if not await cls._process_query_params(connection, token, topics):
|
||||||
|
cls._logger.exception(f'PyG2O соединение отклонено: получен токен {token}\nStatic Tokens: {cls._static_tokens}')
|
||||||
await connection.close()
|
await connection.close()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user