What is the purpose of the functools.wraps() function in decorators?

What is the purpose of the functools.wraps() function in decorators? Correct Answer To preserve the original function's metadata

functools.wraps() preserves the original function's metadata when using decorators.

Related Questions

What is the purpose of the functools.partial function in decorators?
What is the primary purpose of using decorators?
What is a higher-order function in the context of decorators?
What are decorators in Python?
What is a common use case of decorators?
How does the order of applying multiple decorators matter?