

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

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py DateProperty._from_base_type/VarMisuse@15/19 `value`->`self`