Recent Releases of kwandl
kwandl - v0.2.0
In version 0.2.0 we renamed replace_kwargs_in_calls to forward. In addition, forward supports more (corner) cases:
- Now ignores "unexpanded"
kwargs, i.e. it will only modifycall(**kwargs), notcall(kwargs). - Decorator now raises an exception if there is nothing in the decorated function to forward.
- Nested function definitions can now also be decorated.
forwardworks on attributes as well now:thing.attribute(**kwargs)didn't work before, but does now.forwardnow also works on non-global objects. The previous version only supported callables that were in the global namespace, but now local (and non-local) object calls with**kwargswill also be properly magically modified.
Full Changelog: https://github.com/egpbos/kwandl/compare/v0.1.0...v0.2.0
- Python
Published by egpbos almost 4 years ago