Add decorator deprecated to mark functions and methods as obsolete in a uniform way.
Use this new decorator to replace inlined warnings in ProfileType.devices_allowed. Also mark BundleIds.list_capabilility_ids as deprecated, and create new method without typo in the name to replace that. Original method is persisted as a mere proxy for now.
Updated actions:
None
An example use-case of how this works can be seen from this mocked action:
Add decorator
deprecated
to mark functions and methods as obsolete in a uniform way.Use this new decorator to replace inlined warnings in
ProfileType.devices_allowed
. Also markBundleIds.list_capabilility_ids
as deprecated, and create new method without typo in the name to replace that. Original method is persisted as a mere proxy for now.Updated actions:
An example use-case of how this works can be seen from this mocked action: