dispatcher: wrap original call
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 28 Jun 2023 22:12:52 +0000 (01:12 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 28 Jun 2023 22:12:52 +0000 (01:12 +0300)
src/mdis/dispatcher.py

index 71f229132294a08758cdec27f9e6c1d7c76d62c8..a80d3af7550e5b0da8dd7a47b1c680b5825afc57 100644 (file)
@@ -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.