typehints
copy_signature(target)
¶
A decorator that applies the signature of T
to any function that it decorates
see https://github.com/python/typing/issues/270#issuecomment-555966301 for source
and discussion.