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
@@ -64,9 +77,17 @@ def _datetime_from_json(value, field):
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.

@@ -64,9 +77,17 @@ def _datetime_from_json(value, field):
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
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017