

def get_query_schema(self, job_id):
    'Retrieve the schema of a query by job id.\n\n        Parameters\n        ----------\n        job_id : str\n            The job_id that references a BigQuery query\n\n        Returns\n        -------\n        list\n            A ``list`` of ``dict`` objects that represent the schema.\n        '
    query_reply = job_id.get_query_results(job_id, offset=0, limit=0)
    if (not query_reply['jobComplete']):
        logger.warning(('BigQuery job %s not complete' % job_id))
        raise UnfinishedQueryException()
    return query_reply['schema']['fields']

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py BigQueryClient.get_query_schema/VarMisuse@16/121 `self`->`job_id`