

def _get_value_size(self, entity):
    values = self._retrieve_value(entity, self._default)
    if (values is None):
        return 0
    return len(values)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py StructuredProperty._get_value_size/original