From de37317b72b13d1a307cf8294165f985a070088c Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Fri, 17 Jan 2025 15:34:20 -0500 Subject: [PATCH] Fix lint --- plugins/modules/nodebalancer.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/plugins/modules/nodebalancer.py b/plugins/modules/nodebalancer.py index 9f80c2d1..14cbc98f 100644 --- a/plugins/modules/nodebalancer.py +++ b/plugins/modules/nodebalancer.py @@ -321,7 +321,11 @@ }, ) -MUTABLE_FIELDS: Set[str] = {"client_conn_throttle", "tags", "client_udp_sess_throttle"} +MUTABLE_FIELDS: Set[str] = { + "client_conn_throttle", + "tags", + "client_udp_sess_throttle", +} DOCUMENTATION = r""" """ @@ -388,7 +392,14 @@ def _create_nodebalancer(self) -> Optional[NodeBalancer]: params = { k: v for k, v in self.module.params.items() - if k in {"client_udp_sess_throttle", "client_conn_throttle", "label", "firewall_id", "tags"} + if k + in { + "client_udp_sess_throttle", + "client_conn_throttle", + "label", + "firewall_id", + "tags", + } } try: