python-socketio
Advanced tools
+1
-1
| Metadata-Version: 2.4 | ||
| Name: python-socketio | ||
| Version: 5.15.1 | ||
| Version: 5.16.0 | ||
| Summary: Socket.IO server and client for Python | ||
@@ -5,0 +5,0 @@ Author-email: Miguel Grinberg <miguel.grinberg@gmail.com> |
+1
-1
| [project] | ||
| name = "python-socketio" | ||
| version = "5.15.1" | ||
| version = "5.16.0" | ||
| license = {text = "MIT"} | ||
@@ -5,0 +5,0 @@ authors = [ |
| Metadata-Version: 2.4 | ||
| Name: python-socketio | ||
| Version: 5.15.1 | ||
| Version: 5.16.0 | ||
| Summary: Socket.IO server and client for Python | ||
@@ -5,0 +5,0 @@ Author-email: Miguel Grinberg <miguel.grinberg@gmail.com> |
| import asyncio | ||
| from datetime import datetime, timezone | ||
| import functools | ||
| import inspect | ||
| import os | ||
@@ -127,3 +128,3 @@ import socket | ||
| else: | ||
| if asyncio.iscoroutinefunction(self.auth): | ||
| if inspect.iscoroutinefunction(self.auth): | ||
| authenticated = await self.auth(client_auth) | ||
@@ -130,0 +131,0 @@ else: |
| import asyncio | ||
| import inspect | ||
| import logging | ||
@@ -378,3 +379,3 @@ import random | ||
| return value | ||
| if asyncio.iscoroutinefunction(value): | ||
| if inspect.iscoroutinefunction(value): | ||
| return await value() | ||
@@ -441,3 +442,3 @@ return value() | ||
| if callback is not None: | ||
| if asyncio.iscoroutinefunction(callback): | ||
| if inspect.iscoroutinefunction(callback): | ||
| await callback(*data) | ||
@@ -469,3 +470,3 @@ else: | ||
| if handler: | ||
| if asyncio.iscoroutinefunction(handler): | ||
| if inspect.iscoroutinefunction(handler): | ||
| try: | ||
@@ -472,0 +473,0 @@ try: |
| import asyncio | ||
| import inspect | ||
@@ -116,3 +117,3 @@ from engineio import packet as eio_packet | ||
| ret = callback(*data) | ||
| if asyncio.iscoroutine(ret): | ||
| if inspect.iscoroutine(ret): | ||
| try: | ||
@@ -119,0 +120,0 @@ await ret |
| import asyncio | ||
| import inspect | ||
@@ -35,3 +36,3 @@ from socketio import base_namespace | ||
| handler = getattr(self, handler_name) | ||
| if asyncio.iscoroutinefunction(handler) is True: | ||
| if inspect.iscoroutinefunction(handler) is True: | ||
| try: | ||
@@ -217,3 +218,3 @@ try: | ||
| handler = getattr(self, handler_name) | ||
| if asyncio.iscoroutinefunction(handler) is True: | ||
| if inspect.iscoroutinefunction(handler) is True: | ||
| try: | ||
@@ -220,0 +221,0 @@ try: |
| import asyncio | ||
| import inspect | ||
@@ -640,3 +641,3 @@ import engineio | ||
| if handler: | ||
| if asyncio.iscoroutinefunction(handler): | ||
| if inspect.iscoroutinefunction(handler): | ||
| try: | ||
@@ -643,0 +644,0 @@ try: |
+1
-3
| [tox] | ||
| envlist=flake8,py{38,39,310,311,312,313,314},docs | ||
| envlist=flake8,py{310,311,312,313,314},docs | ||
| skip_missing_interpreters=True | ||
@@ -7,4 +7,2 @@ | ||
| python = | ||
| 3.8: py38 | ||
| 3.9: py39 | ||
| 3.10: py310 | ||
@@ -11,0 +9,0 @@ 3.11: py311 |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
774353
0.01%15007
0.03%