Get list of cartoframes.columns.Column

def get_columns(context, query):
        """Get list of cartoframes.columns.Column"""
        table_info = context.sql_client.send(query)
        if 'fields' in table_info:
            return Column.from_sql_api_fields(table_info['fields'])

        return None