mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* arg_spec - move type checking lookup method to a function * Change get_wanted_type name and behavior Change the name to get_validator to bette describe what it is doing. Change the interface to always return a value. This lines up with the behavior of get_* functions always returning something or None and check_* functions raising an Exception if something went wrong during the check. * Add param to check_type_str() Not meant to be a long term fix, but gets tests passing. More work is needed to figure out how to solve this cleanly. * Remove private attribute mapping types to validator Since the function that needs it has moved to parameters.py, there is no need to have it as a attribute of AnsibleModule. Update tests that were referencing the private attribute. * Use private method for 'str' type To avoid having to put the string conversion warning behavior in the check_type_str() method, use the private _check_type_str() method for 'str' type. Import CHECK_ARGUMENT_TYPES_DISPATCHER for backwards compalitibility and store it as a private attribute. Revert changes to support plugins that are referencing serf._CHECK_ARGUMENT_TYPES_DISPATCHER. * Add changelog * Change function name to better reflect its... function * Change dict name to better reflect its contents CHECK_ARGUMENT_TYPES_DISPATCHER --> DEFAULT_TYPE_VALIDATORS * Fix changelog |
5 years ago | |
|---|---|---|
| .. | ||
| _vendor | 5 years ago | |
| cli | 5 years ago | |
| collections | 5 years ago | |
| compat | 6 years ago | |
| config | 5 years ago | |
| errors | 5 years ago | |
| executor | 5 years ago | |
| galaxy | 5 years ago | |
| inventory | 5 years ago | |
| module_utils | 5 years ago | |
| modules | 5 years ago | |
| parsing | 5 years ago | |
| playbook | 5 years ago | |
| plugins | 5 years ago | |
| template | 5 years ago | |
| utils | 5 years ago | |
| vars | 5 years ago | |
| __init__.py | 6 years ago | |
| constants.py | 5 years ago | |
| context.py | 7 years ago | |
| keyword_desc.yml | 5 years ago | |
| release.py | 6 years ago | |