in ees_microsoft_teams/utils.py [0:0]
def get_thread_results(thread_results):
""" Returns the documents getting from each thread
:param thread_results: Results getting from each thread
"""
thread_documents = []
for result in [r.get() for r in thread_results]:
if result:
thread_documents.extend(result)
return thread_documents