decorators give function and other args code example
Example: how to pass function parameter in decorator
@decorator_with_args(arg)
def foo(*args, **kwargs):
pass
@decorator_with_args(arg)
def foo(*args, **kwargs):
pass