Skip to content

Commit

Permalink
fix: black and isort issues
Browse files Browse the repository at this point in the history
Signed-off-by: Ali AlKhalidi <ali.alkhalidi289@gmail.com>
  • Loading branch information
alialkhalidi committed Dec 14, 2023
1 parent 9a2041b commit b84b48e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions plugins/modules/mq_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit b84b48e

Please sign in to comment.