From b84b48e74228a0227698272d680fddd1106b8198 Mon Sep 17 00:00:00 2001 From: Ali AlKhalidi Date: Fri, 20 Oct 2023 09:56:47 -0400 Subject: [PATCH] fix: black and isort issues Signed-off-by: Ali AlKhalidi --- plugins/modules/mq_broker.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/plugins/modules/mq_broker.py b/plugins/modules/mq_broker.py index 7229da887d1..8ddfe0e9fd8 100644 --- a/plugins/modules/mq_broker.py +++ b/plugins/modules/mq_broker.py @@ -228,11 +228,13 @@ # handled by AnsibleAWSModule pass -from ansible.module_utils.common.dict_transformations import camel_dict_to_snake_dict -from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule from time import sleep from time import time +from ansible.module_utils.common.dict_transformations import camel_dict_to_snake_dict + +from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule + PARAMS_MAP = { "authentication_strategy": "AuthenticationStrategy", "auto_minor_version_upgrade": "AutoMinorVersionUpgrade", @@ -405,12 +407,8 @@ def wait_for_status(conn, module): desired_state = module.params.get("state") done = False - paginator = conn.get_paginator('list_brokers') - page_iterator = paginator.paginate(PaginationConfig={ - 'MaxItems': 100, - 'PageSize': 100, - 'StartingToken': '' - }) + paginator = conn.get_paginator("list_brokers") + page_iterator = paginator.paginate(PaginationConfig={"MaxItems": 100, "PageSize": 100, "StartingToken": ""}) wait_timeout = time() + timeout while wait_timeout > time():