

def _to_base_type(self, value):
    assert isinstance(value, datetime.date), repr(self)
    return _date_to_datetime(value)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py DateProperty._to_base_type/VarMisuse@24/28 `value`->`self`