-
Committer:
Colin Watson
-
Date:
2020-02-04 21:53:16 UTC
-
Revision ID:
cjwatson@canonical.com-20200204215316-1th6mgt7o43k7oby
Deprecate class advice APIs and provide replacements.
lazr.restful.declarations.export_as_webservice_entry and
lazr.restful.declarations.export_as_webservice_collection can't work on
Python 3, because the whole "class advice" strategy relies on metaclass
hacking that is no longer possible. Deprecate these and provide equivalent
class decorators (@exported_as_webservice_entry and
@exported_as_webservice_collection) instead.