GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Documentation Issue] python example code seems out of date · Issue #1242 · googleapis/google-cloud-python

[Documentation Issue] python example code seems out of date #1242

New issue
Copy link
New issue
Copy link
Closed
Closed
[Documentation Issue] python example code seems out of date#1242
Copy link
Assignees
tseaver
Labels
api: bigqueryIssues related to the BigQuery API.

Description

@woojing
woojing
opened on Nov 24, 2015
Issue body actions

Page Name: bigquery-usage
Release: 0.8.0

When I ran example code with current version of gcloud library(0.8.0), this error is occured.

Traceback (most recent call last):
  File "bigquery_test.py", line 6, in <module>
    result = client.query(query, timeout_ms=1000)
AttributeError: 'Client' object has no attribute 'query'

and query method is seems splited into run_async_query and run_sync_query.
But this document still use not existed query method with polling approach for synchronous execution.

Exporting data (async) section also has same problem.
table.export_to_storage method is move to Client.extract_table_to_storage with different arguments.

Activity

  1. dhermes
    added
    api: bigtableIssues related to the Bigtable API.
    api: bigqueryIssues related to the BigQuery API.
    and removed
    api: bigtableIssues related to the Bigtable API.
    on Nov 24, 2015
  2. dhermes
    assigned
    tseaver
    on Nov 24, 2015
  3. tseaver
    closed this as completedin #1243on Nov 25, 2015
  4. parthea
    added 2 commits that reference this issue on Mar 2, 2026

    chore(python): update unittest workflow template (#1242)

    ca5a985

    chore(python): auto approve template changes (#1242)

    20d6bb3
  5. parthea
    added a commit that references this issue on Sep 8, 2026

    docs: migrate code from googleapis/python-bigquery (#18303)

    23f9a74
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tseaver
    tseaver

Labels

api: bigqueryIssues related to the BigQuery API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.