AnsibleModule guarantees every declared param key exists in module.params,
so .get(key) and .get(key, default) are equivalent to [key]. Replace them
with the cleaner subscript form across multiple module_utils and modules.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* scaleway: fix NoneType error in get_resources() when API returns empty or non-JSON response
* add changelog fragment for #11918
* Update changelogs/fragments/11361-scaleway-get-resources-none-type.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: RealCharlesChia <RealCharlesChia@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Make all doc fragments private.
* Make all plugin utils private.
* Make all module utils private.
* Reformat.
* Changelog fragment.
* Update configs and ignores.
* Adjust unit test names.
2026-04-20 20:16:26 +02:00
Renamed from plugins/module_utils/scaleway.py (Browse further)