def entity_group(self):
    return self.key().entity_group()
Returns this entity's entity group as a Key.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore.py/Entity.entity_group