Skip to content

1.3.0 - Aliases for signature-preserving wrapper scenarios

Compare
Choose a tag to compare
@smarie smarie released this 11 Mar 12:04
· 313 commits to main since this release
  • Now providing a @wraps, equivalent of functools.wraps; and a create_wrapper equivalent of functools.update_wrapper. Fixes #21

  • @with_signature now does not override the __name__ when signature is provided as a function. Fixes #22

  • add_signature_parameters now accepts that parameters are provided as single elements (not necessarily iterables)

  • Updated documentation

See documentation page for details.