def EntityKeySet(self, value):
    if not isinstance(value, basestring):
      raise TypeError('entityKey must be a string.')
    self.UpdateFromKey(ndb.Key(urlsafe=value))
Setter to be used for default entityKey EndpointsAliasProperty.
dataset/ETHPy150Open GoogleDeveloperExperts/experts-app-backend/endpoints_proto_datastore/ndb/model.py/EndpointsModel.EntityKeySet