From e0cd456e770ebe0f58765cf29e2457b67516ca02 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 2 Nov 2023 09:01:01 +0100 Subject: [PATCH] chore: Remove the unused decorated function in MuxRPCAPI.define --- ssb/muxrpc.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ssb/muxrpc.py b/ssb/muxrpc.py index 02cca31..a1636d6 100644 --- a/ssb/muxrpc.py +++ b/ssb/muxrpc.py @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -from functools import wraps - from async_generator import async_generator, yield_ from ssb.packet_stream import PSMessageType @@ -137,10 +135,6 @@ class MuxRPCAPI(object): def _handle(f): self.handlers[name] = f - @wraps(f) - def _f(*args, **kwargs): - return f(*args, **kwargs) - return f return _handle