Closed russoz closed 2 months ago
cc @Lunik @abarbare @remyleone click here for bot help
✅ Backport PR branch: patchback/backports/stable-9/94472dd7e5f21823da43fae1227be6df773f58dc/pr-8858
Backported as https://github.com/ansible-collections/community.general/pull/8865
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
@russoz thanks as well :)
SUMMARY
Another PR to mass-replace the construct
dict((k, v) for k, v in d if condition)
with dict comprehensions:{k: v for k, v in d if condition}
ISSUE TYPE
COMPONENT NAME
plugins/modules/scaleway_container.py plugins/modules/scaleway_container_info.py plugins/modules/scaleway_container_namespace.py plugins/modules/scaleway_container_namespace_info.py plugins/modules/scaleway_container_registry.py plugins/modules/scaleway_container_registry_info.py plugins/modules/scaleway_function.py plugins/modules/scaleway_function_info.py plugins/modules/scaleway_function_namespace.py plugins/modules/scaleway_function_namespace_info.py