Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery: Updates Table constructor to use TableReference as parameter #3997

Merged
merged 3 commits into from
Sep 19, 2017

Conversation

alixhami
Copy link
Contributor

No description provided.

@alixhami alixhami added the api: bigquery Issues related to the BigQuery API. label Sep 18, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 18, 2017
Copy link
Contributor

@jba jba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, after fixing broken tests.

@alixhami alixhami force-pushed the bq-table-constructor branch from f81e021 to 69e7eea Compare September 18, 2017 23:48
Copy link
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Ditto to figuring out the CircleCI test errors.

@@ -623,7 +623,8 @@ def table(self, name, schema=()):
:rtype: :class:`google.cloud.bigquery.table.Table`
:returns: a new ``Table`` instance
"""
return Table(name, dataset=self, schema=schema)
table_ref = TableReference(self, name)
return Table(table_ref, schema=schema, client=self._client)

This comment was marked as spam.

This comment was marked as spam.

@alixhami alixhami merged commit bb4bc6c into googleapis:bigquery-b2 Sep 19, 2017
@alixhami alixhami deleted the bq-table-constructor branch September 19, 2017 17:07
tswast pushed a commit that referenced this pull request Sep 25, 2017
#3997)

* wip update Table contructor

* BigQuery: Updates Table constructor to use TableReference as parameter

* fixes circular import error with Python 2.7
tswast pushed a commit that referenced this pull request Oct 12, 2017
#3997)

* wip update Table contructor

* BigQuery: Updates Table constructor to use TableReference as parameter

* fixes circular import error with Python 2.7
tswast pushed a commit that referenced this pull request Oct 16, 2017
#3997)

* wip update Table contructor

* BigQuery: Updates Table constructor to use TableReference as parameter

* fixes circular import error with Python 2.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants