You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses wrapt now and we are currently adding the ability to automatically adjust the docstring of depreciated methods/functions... with documentation that states what is deprecated. This has turned out to be pretty easy for decorators that aren't using wrapt but I was wondering the best way to do this for decorators that are using wrapt.
I came up with http://paste.openstack.org/show/176557/ but was wondering if there is a better way to do this when a object being decorated is using the wrapt decorator mechanism. Any thoughts would be appreciated.
I've been working on a
debtcollector
library:http://docs.openstack.org/developer/debtcollector/
It uses wrapt now and we are currently adding the ability to automatically adjust the docstring of depreciated methods/functions... with documentation that states what is deprecated. This has turned out to be pretty easy for decorators that aren't using wrapt but I was wondering the best way to do this for decorators that are using wrapt.
I came up with http://paste.openstack.org/show/176557/ but was wondering if there is a better way to do this when a object being decorated is using the wrapt decorator mechanism. Any thoughts would be appreciated.
Btw the review for this kind of stuff is @ https://review.openstack.org/#/c/155988/
The text was updated successfully, but these errors were encountered: