From: Dmitry Selyutin Date: Wed, 28 Jun 2023 22:12:52 +0000 (+0300) Subject: dispatcher: wrap original call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f91c0f7cfeb121688b26191f7a1cadcfaa1ceea2;p=mdis.git dispatcher: wrap original call --- diff --git a/src/mdis/dispatcher.py b/src/mdis/dispatcher.py index 71f2291..a80d3af 100644 --- a/src/mdis/dispatcher.py +++ b/src/mdis/dispatcher.py @@ -33,6 +33,7 @@ class Hook(object): def __call__(self, call): class ConcreteHook(Hook): + @functools.wraps(call) def __call__(self, dispatcher, node, *args, **kwargs): # We do not force specific arguments other than node. # API users can introduce additional *args and **kwargs.