default instrument implementation
This commit is contained in:
parent
d834c24e14
commit
3c13630d8e
@ -21,7 +21,7 @@ class Instrumentation:
|
||||
self.methodname = methodname
|
||||
|
||||
def instrument(self, method, *args, **kwargs):
|
||||
raise NotImplementedError
|
||||
return method(*args, **kwargs)
|
||||
|
||||
def __enter__(self: IType) -> IType:
|
||||
if hasattr(self, '_method') or hasattr(self, '_wrap'):
|
||||
|
Loading…
Reference in New Issue
Block a user