File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import concurrent .futures
77from dataclasses import dataclass , field
88from enum import Enum
9+ from functools import wraps
910
1011import logging
1112import os
@@ -433,6 +434,7 @@ def record_call(
433434 self ,
434435 callable : Callable ,
435436 ) -> Callable :
437+ @wraps (callable )
436438 def wrapped_callable (* args , ** kwargs ):
437439 parameters = {** kwargs }
438440 for i , arg in enumerate (args ):
@@ -448,6 +450,7 @@ def record_errors(
448450 self ,
449451 callable : Callable ,
450452 ) -> Callable :
453+ @wraps (callable )
451454 def wrapped_callable (* args , ** kwargs ):
452455 result = None
453456 try :
Original file line number Diff line number Diff line change 66
77setup (
88 name = "humbug" ,
9- version = "0.2.5 " ,
9+ version = "0.2.6 " ,
1010 packages = find_packages (),
1111 package_data = {"humbug" : ["py.typed" ]},
1212 install_requires = ["requests" ],
You can’t perform that action at this time.
0 commit comments