Debian Codegraph @

ansible_collections/community/general/plugins/module_utils/_module_helper.py

raw
1 # (c) 2020, Alexei Znamensky <[email protected]>
2 # Copyright (c) 2020, Ansible Project
3 # Simplified BSD License (see LICENSES/BSD-2-Clause.txt or https://opensource.org/licenses/BSD-2-Clause)
4 # SPDX-License-Identifier: BSD-2-Clause
5
6 # Note that this module util is **PRIVATE** to the collection. It can have breaking changes at any time.
7 # Do not use this from other collections or standalone plugins/modules!
8
9 from __future__ import annotations
10
11 # pylint: disable=unused-import
12 from ansible_collections.community.general.plugins.module_utils._mh.deco import ( # noqa: F401
13 cause_changes,
14 check_mode_skip,
15 check_mode_skip_returns,
16 module_fails_on_exception,
17 )
18 from ansible_collections.community.general.plugins.module_utils._mh.exceptions import (
19 ModuleHelperException, # noqa: F401
20 )
21 from ansible_collections.community.general.plugins.module_utils._mh.module_helper import ( # noqa: F401
22 ModuleHelper,
23 StateModuleHelper,
24 )