@classmethod
    def get_by_id(cls, id):
        try:
            return db[cls.table_name][id]
        except __HOLE__:
            raise NotFound
dataset/ETHPy150Open cosmic-api/cosmic.py/cosmic/testing.py/DBModel.get_by_id