@classmethod
    def by_id(cls, oid):
        if oid:
            d = cls.collection.find_one(ObjectId(oid))
            if d:
                return cls(**d)
Find a model object by its ``ObjectId``,
dataset/ETHPy150Open tevino/mongu/mongu.py/Model.by_id