

def _to_base_type(self, value):
    assert isinstance(value, datetime.time), repr(value)
    return _time_to_datetime(value)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py TimeProperty._to_base_type/original