

def _get_bq_service(credentials=None, service_url=None):
    'Construct an authorized BigQuery service object.'
    assert credentials, 'Must provide ServiceAccountCredentials'
    http = credentials.authorize(Http())
    service = build('bigquery', 'v2', http=http, discoveryServiceUrl=service_url)
    return credentials

dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py _get_bq_service/VarMisuse@52/91 `service`->`credentials`