functools.wraps is a decorator that can be used to modify a function or method by updating its metadata.