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. return _time_from_iso8601_time_naive(value)
def _call_fut(self, value): from google.cloud._helpers import _time_from_iso8601_time_naive return _time_from_iso8601_time_naive(value)