Sobes.tech
Junior — Senior

Implementation of a decorator with parameters in Python

livecode

Task condition

It is necessary to create a decorator that allows accepting user parameters and using them inside the wrapped function. The decorator should work correctly with an arbitrary number of positional and keyword arguments, and also preserve the metadata of the original function.