I have code similar to this
def my_function_decorator(f): def wrap(*args, **kwargs): my_count_variable = 1 return f(*args, **kwargs) return wrap @my_function_decorator def my_decorated_function(): passis there any way i can access my_count_variable from inside my_decorated_function? and even if i can is this good practice that can scale well?