@classmethod
def find_by_eid(cls, database, eid):
    """
        Finds a model by it's eid of a chunk of it, returns None if there are
        no models matching the eid chunk.

        :param db: sqlalchemy session to find the item.
        :param eid: eid to match, can be a partial.
        :returns: the model if its found None otherwise.
        """
    return database.query(cls).filter(cls.eid.like('{}%'.format(eid))).first()
