

def main(project_id, dataset_id, table_name, num_retries):
    credentials = GoogleCredentials.get_application_default()
    bigquery = discovery.build('bigquery', 'v2', credentials=credentials)
    for row in get_rows():
        response = stream_row_to_bigquery(bigquery, project_id, dataset_id, credentials, row, num_retries)
        print(json.dumps(response))

dataset/ETHPy150Open GoogleCloudPlatform/python-docs-samples/bigquery/api/streaming.py main/VarMisuse@58/88 `table_name`->`credentials`