I have the following decorator:
my_decorator.py
import functools def caller_name(): frm = inspect.stack()[1] mod = inspect.getmod