You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the role argument spec validation work for Ansible 2.11 (ansible/ansible#72667), the private attribute AnsibleModule._CHECK_ARGUMENT_TYPES_DISPATCHER moved to to lib/ansible/module_utils/common/parameters.py. Any code using that private attribute should instead use DEFAULT_TYPE_VALIDATORS or preferably get_validator() from the new location.
I left in AnsibleModule._CHECK_ARGUMENT_TYPES_DISPATCHER for backwards compatibility.
I mainly just wanted to give you a heads up that things are moving, though I did my best to make sure nothing would break.
SUMMARY
As part of the role argument spec validation work for Ansible 2.11 (ansible/ansible#72667), the private attribute
AnsibleModule._CHECK_ARGUMENT_TYPES_DISPATCHER
moved to tolib/ansible/module_utils/common/parameters.py
. Any code using that private attribute should instead useDEFAULT_TYPE_VALIDATORS
or preferablyget_validator()
from the new location.I left in
AnsibleModule._CHECK_ARGUMENT_TYPES_DISPATCHER
for backwards compatibility.I mainly just wanted to give you a heads up that things are moving, though I did my best to make sure nothing would break.
ISSUE TYPE
COMPONENT NAME
ansible/netcommon/plugins/module_utils/network/common/utils.py
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Search for uses of
._CHECK_ARGUMENT_TYPES_DISPATCHER
EXPECTED RESULTS
No uses found.
ACTUAL RESULTS
Several instances found.
The text was updated successfully, but these errors were encountered: