Skip to content

BigQuery: add reference property to Table and Dataset - #4405

Merged
tswast merged 2 commits into
googleapis:masterfrom
tswast:bq-tableref
Nov 21, 2017
Merged

BigQuery: add reference property to Table and Dataset#4405
tswast merged 2 commits into
googleapis:masterfrom
tswast:bq-tableref

Conversation

@tswast

Copy link
Copy Markdown
Contributor

This makes it easier to call get_table, get_dataset, or other
functions that want just a reference, not a full resource.

Closes#4327

@tswasttswast added the api: bigquery Issues related to the BigQuery API. label Nov 17, 2017
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 17, 2017
@robfraz

Copy link
Copy Markdown

Thanks! LGTM (for what it's worth).

return self._table_id

@property
def reference(self):

This comment was marked as spam.

This makes it easier to call `get_table`, `get_dataset`, or other
functions that want just a reference, not a full resource.
@tswast
tswast merged commit 58b642e into googleapis:masterNov 21, 2017
@tswast
tswast deleted the bq-tableref branch November 21, 2017 21:29
@tseavertseaver mentioned this pull request Jan 4, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigqueryIssues related to the BigQuery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tswast@robfraz@andrewsg@googlebot