From 7e3b1440231fe2c9c48f3a824d57144886b95415 Mon Sep 17 00:00:00 2001 From: devamin Date: Thu, 22 Dec 2022 21:35:47 +0100 Subject: [PATCH] fix: pre-commit --- src/socketio/asyncio_namespace.py | 4 ++-- src/socketio/namespace.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/socketio/asyncio_namespace.py b/src/socketio/asyncio_namespace.py index 2a45036..26281cb 100644 --- a/src/socketio/asyncio_namespace.py +++ b/src/socketio/asyncio_namespace.py @@ -42,7 +42,7 @@ class AsyncNamespace(namespace.Namespace): return ret async def emit(self, event, data=None, to=None, room=None, skip_sid=None, - namespace=None, callback=None,**kwargs): + namespace=None, callback=None, **kwargs): """Emit a custom event to one or more connected clients. The only difference with the :func:`socketio.Server.emit` method is @@ -54,7 +54,7 @@ class AsyncNamespace(namespace.Namespace): return await self.server.emit(event, data=data, to=to, room=room, skip_sid=skip_sid, namespace=namespace or self.namespace, - callback=callback,**kwargs) + callback=callback, **kwargs) async def send(self, data, to=None, room=None, skip_sid=None, namespace=None, callback=None): diff --git a/src/socketio/namespace.py b/src/socketio/namespace.py index 2a3fba9..e816af8 100644 --- a/src/socketio/namespace.py +++ b/src/socketio/namespace.py @@ -38,7 +38,7 @@ class Namespace(BaseNamespace): self.server = server def emit(self, event, data=None, to=None, room=None, skip_sid=None, - namespace=None, callback=None,**kwargs): + namespace=None, callback=None, **kwargs): """Emit a custom event to one or more connected clients. The only difference with the :func:`socketio.Server.emit` method is @@ -48,7 +48,7 @@ class Namespace(BaseNamespace): return self.server.emit(event, data=data, to=to, room=room, skip_sid=skip_sid, namespace=namespace or self.namespace, - callback=callback,**kwargs) + callback=callback, **kwargs) def send(self, data, to=None, room=None, skip_sid=None, namespace=None, callback=None):