@classmethod
    def create_all(cls, entries=[]):
        """Saves a list of objects in bulk

        :param entries: the list of objects to be saved
        """
        for row in entries:
            db.session.add(row)
        if len(entries) > 0:
            db.session.commit()
dataset/ETHPy150Open dssg/ushine-learning/dssg/model/base_model.py/BaseModel.create_all/original