From 740762b1498dfbe3fd88d77af60d506f6d5b5701 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 eefd934..4832695 100644 --- a/ssb/muxrpc.py +++ b/ssb/muxrpc.py @@ -1,7 +1,5 @@ """MuxRPC""" -from functools import wraps - from ssb.packet_stream import PSMessageType @@ -157,10 +155,6 @@ class MuxRPCAPI: def _handle(f): self.handlers[name] = f - @wraps(f) - def _f(*args, **kwargs): - return f(*args, **kwargs) - return f return _handle