Skip to content

1.0.0 - New parameters, new goodie, and bugfix

Compare
Choose a tag to compare
@smarie smarie released this 25 Feb 15:46
· 308 commits to main since this release

@with_signature :

  • now exposes all options of create_function. Fixed #12.
  • now correctly sets the module name by default. Fixes #13
  • now accepts None as the new func_signature to declare that the signature is identical to the decorated function. This can be handy to just change the docstring or module name of a function for example. Fixes #15

create_function and @with_signature:

  • New modulename parameter to override the module name. Fixes #14
  • the handler is now available as a field of the generated function (under __call_handler__). New addhandler parameter (default: True) controls this behaviour. Fixes #16

Misc:

  • New goodie to manipulate signatures: add_signature_parameters.
  • Fixed dependencies for documentation auto-build.

See documentation page for details.