https://auth0.com
from ansible.module_utils.common.dict_transformations import camel_dict_to_snake_dictdef aws_response_list_parser(paginate: bool, iterator, resource_field: str) -> list:
_return = []
try:
if paginate:
for response in iterator:
for _app in response[resource_field]:
try:
_return.append(camel_dict_to_snake_dict(_app))
except AttributeError:
_return.append(_app)
else:
for _app in iterator[resource_field]:
try:
_return.append(camel_dict_to_snake_dict(_app))
except AttributeError:
_return.append(_app)
return _return
except KeyError:
return _return
$ tree -L 2
.
├── docs
├── easy_dev.sh
├── galaxy.yml
├── LICENSE
├── meta
│ └── runtime.yml
├── plugins
│ ├── modules
│ └── module_utils
├── README.md
├── requirements.txt
└── tests
├── integration
└── readme.md
from xxx import yyy
..module_utils.xx_file import yy_function
from xxx import yyy
from ansible_collections.community.missing_collection.plugins.module_utils.aws_response_parser import aws_response_list_parser

Senior Software Engineer III ( R&D )