1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-30 18:43:09 +03:00

MH: deprecate features (#8280)

* deprecate features

* add changelog frag
This commit is contained in:
Alexei Znamensky
2024-04-30 03:27:06 +12:00
committed by GitHub
parent 85f9d89510
commit b48293ca31
3 changed files with 19 additions and 5 deletions

View File

@ -9,6 +9,12 @@ __metaclass__ = type
class DependencyCtxMgr(object):
"""
DEPRECATION WARNING
This class is deprecated and will be removed in community.general 11.0.0
Modules should use plugins/module_utils/deps.py instead.
"""
def __init__(self, name, msg=None):
self.name = name
self.msg = msg