Get the object wrapped by func. It follows the chain of __wrapped__ attributes returning the last object in the chain.
inspect.unwrap(func, *, stop=None)