Enhance versionutils.deprecated decorator to work with classes

Registered by Timur Sufiev

Right now versionutils.deprecated can only be used to decorate functions. The idea is to tweak it a little bit, so it will be able to decorate also the classes. Deprecation message will be produced each time the decorated class is instantiated. See https://review.openstack.org/#/c/103502/ for a code example.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Timur Sufiev
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Timur Sufiev

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.