def get_fight_table(fights_list, graphql_endpoint, headers):
    session = FuturesSession(max_workers=2)
    futures = [session.post(**get_fight_args(fight, graphql_endpoint, headers)) for fight in fights_list]
    fights_tables = []
    for (k, item) in enumerate(futures):
        result = item.result()
        if (result.status_code != 200):
            print(result.status_code)
        try:
            fights_tables.append(result.json()['data']['reportData']['report']['table']['data'])
        except:
            pass
    return fights_tables
def get_fight_table(fights_list, graphql_endpoint, headers):
    session = FuturesSession(max_workers=2)
    futures = [session.post(**get_fight_args(fight, graphql_endpoint, headers)) for fight in fights_list]
    fights_tables = []
    for (k, item) in enumerate(futures):
        result = item.result()
        if (result.status_code != 200):
            print(result.status_code)
        try:
            fights_tables.append(result.json()['data']['reportData']['report']['table']['data'])
        except:
            pass
    return fights_tables