def __getitem__(self, entity_id):
    "Get entity instance from entityset\n\n        Args:\n            entity_id (str): Id of entity.\n\n        Returns:\n            :class:`.Entity` : Instance of entity. None if entity doesn't\n                exist.\n        "
    if (entity_id in self.entity_dict):
        return self.entity_dict[entity_id]
    name = (self.id or 'entity set')
    raise KeyError(('Entity %s does not exist in %s' % (entity_id, name)))
Get entity instance from entityset

Args:
    entity_id (str): Id of entity.

Returns:
    :class:`.Entity` : Instance of entity. None if entity doesn't
        exist.
def __getitem__(self, entity_id):
    "Get entity instance from entityset\n\n        Args:\n            entity_id (str): Id of entity.\n\n        Returns:\n            :class:`.Entity` : Instance of entity. None if entity doesn't\n                exist.\n        "
    if (entity_id in self.entity_dict):
        return self.entity_dict[entity_id]
    name = (self.id or 'entity set')
    raise KeyError(('Entity %s does not exist in %s' % (entity_id, name)))