Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Dec 5, 2016

Closes #2229.

@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Dec 5, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 5, 2016
def _date_from_json(value, field):
"""Coerce 'value' to a datetime date, if set or not nullable"""
if _not_null(value, field):
# value will be a string, in YYYY-MM-DD form.

This comment was marked as spam.

This comment was marked as spam.

def _time_from_json(value, field):
"""Coerce 'value' to a datetime date, if set or not nullable"""
if _not_null(value, field):
# value will be a string, in HH:MM:SS form.

This comment was marked as spam.

def _date_from_json(value, field):
"""Coerce 'value' to a datetime date, if set or not nullable"""
if _not_null(value, field):
# value will be a string, in YYYY-MM-DD form.

This comment was marked as spam.

@tseaver
Copy link
Contributor Author

tseaver commented Dec 5, 2016

I will merge as soon as either Circle CI or Travis passes the Py3k fix I just pushed.

@tseaver
Copy link
Contributor Author

tseaver commented Dec 5, 2016

Travis is showing build failures for docs which don't happen on Circle or on my local machine.

@tseaver tseaver merged commit 6916814 into googleapis:master Dec 5, 2016
@tseaver tseaver deleted the 2229-bigquery-marshal-bytes-time-types branch December 5, 2016 19:42
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