@staticmethod
def __convert_result_from_old_client(api_result):
    """
        Tuple results always come without schema data, it is called by old clients
        new clients calls using return_schema=True and the result will be returned using a dict
        """
    if isinstance(api_result, (tuple, list)):
        result_url, total_rows, total_size, explicit_query = api_result
        api_result = {'ok': True, 'result_url': result_url,
            'total_data_points': total_rows, 'total_size': total_size,
            'explicit_query': explicit_query}
    return api_result
