From f91c0f7cfeb121688b26191f7a1cadcfaa1ceea2 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Thu, 29 Jun 2023 01:12:52 +0300 Subject: [PATCH] dispatcher: wrap original call --- src/mdis/dispatcher.py | 1 + 1 file changed, 1 insertion(+) 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. -- 2.30.2