-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
BigQuery: Updates Table constructor to use TableReference as parameter #3997
Conversation
There was a problem hiding this 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.
f81e021
to
69e7eea
Compare
There was a problem hiding this 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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
#3997) * wip update Table contructor * BigQuery: Updates Table constructor to use TableReference as parameter * fixes circular import error with Python 2.7
#3997) * wip update Table contructor * BigQuery: Updates Table constructor to use TableReference as parameter * fixes circular import error with Python 2.7
#3997) * wip update Table contructor * BigQuery: Updates Table constructor to use TableReference as parameter * fixes circular import error with Python 2.7
No description provided.