-
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 table api methods #1023
Conversation
Rebased after landing #1022 |
:returns: a new ``Table`` instance | ||
|
||
:type schema: list of :class:`gcloud.bigquery.table.SchemaField` | ||
:param schema: The table's schema |
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.
"""API call: update individual table properties via a PATCH request | ||
|
||
See | ||
https://cloud.google.com/bigquery/docs/reference/v2/tables/patch |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
self._set_properties(api_response) | ||
|
||
def patch(self, client=None, friendly_name=_MARKER, description=_MARKER, | ||
location=_MARKER, expires=_MARKER, view_query=_MARKER): |
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.
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.
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.
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.
Realized I need to update |
In another PR or here? |
22bc7cd adds that support. |
Cool. So the last thing to resolve is the Also, how close are we to cutting a release with BigQuery stuff in it? My main reason for asking is so that we can make http://gcloud-python.readthedocs.org/en/stable/ actually look good. |
I expect to have a PR in today adding the synchronous table load / fetch stuff. The async stuff will take a bit longer (I don't have my head wrapped around all the |
if 'creationTime' in cleaned: | ||
cleaned['creationTime'] = float(cleaned['creationTime']) | ||
if 'lastModifiedTime' in cleaned: | ||
cleaned['lastModifiedTime'] = float(cleaned['lastModifiedTime']) |
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.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM |
Uses #1022 as a base.