Closed patchback[bot] closed 2 months ago
This is a backport of PR #8858 as merged into main (94472dd7e5f21823da43fae1227be6df773f58dc).
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}
dict((k, v) for k, v in d if condition)
{k: v for k, v in d if condition}
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
This is a backport of PR #8858 as merged into main (94472dd7e5f21823da43fae1227be6df773f58dc).
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