def METHOD_NAME(func_self, *args, **wkwargs):
    cassette = args[0]
    try:
        if inject_cassette:
            func(func_self, cassette, *args[1:], **wkwargs)
        else:
            func(func_self, *args[1:], **wkwargs)
    finally:
        self.hide_sensitive_data(cassette)