def _deserialize(self, entity, p, unused_depth=<NUM_LIT:1>):
if p.meaning() == entity_pb.Property.EMPTY_LIST:<EOL><INDENT>self._store_value(entity, [])<EOL>return<EOL><DEDENT>val = self._db_get_value(p.value(), p)<EOL>if val is not None:<EOL><INDENT>val = _BaseValue(val)<EOL><DEDENT>if self._repeated:<EOL><INDENT>if self._has_value(entity):<EOL><INDENT>value = self._retrieve_value(entity)<EOL>assert isinstance(value, list), repr(value)<EOL>value.append(val)<EOL><DEDENT>else:<EOL><INDENT>value = [val]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>value = val<EOL><DEDENT>self._store_value(entity, value)<EOL>
Internal helper to deserialize this property from a protocol buffer.

        Subclasses may override this method.

        Args:
          entity: The entity, a Model (subclass) instance.
          p: A Property Message object (a protocol buffer).
          depth: Optional nesting depth, default 1 (unused here, but used
            by some subclasses that override this method).