8e1a5add38
Add the possibility in the decorator to specify the `upgrade` and `downgrade` functions that convert values between APIs. Both function have the same API: upgrade(self, value, *args, **kwargs) downgrade(self, value, *args, **kwargs) The arguments ``self``, ``*args`` and ``**kwargs`` are the ones passed to the method, following its new-API signature. Fixes #4944, #7830. |
||
---|---|---|
.. | ||
base | ||
test_access_rights | ||
test_convert | ||
test_converter | ||
test_documentation_examples | ||
test_exceptions | ||
test_impex | ||
test_inherit | ||
test_inherits | ||
test_limits | ||
test_new_api | ||
test_uninstall | ||
test_workflow | ||
__init__.py |