Fix pep8
All checks were successful
gl/check check status: success (3f414e55a783176625bff3046506f5f1bf324a05)
gl/gate gate status: success (3f414e55a783176625bff3046506f5f1bf324a05)

This commit is contained in:
2023-08-30 08:03:14 +00:00
parent 7e2761dc32
commit 3f414e55a7

View File

@ -108,9 +108,11 @@ def getData(environment, all_doc_types):
final_data = filter_docs(metadatadata)
return final_data
def sortData(data, sort_key):
return sorted(data, key=lambda x: x[sort_key])
def indexData(deleteIndex, hosts, index, username, password, data):
hosts = generate_os_host_list(hosts)
client = OpenSearch(