def METHOD_NAME(self, entity_id: str):
    number_of_deleted_entries = self.db.query(self.model_type).filter_by(id=entity_id).delete()
    if not number_of_deleted_entries:
        raise ModelNotFound(str(self.model_type.__name__), entity_id)
    self.db.commit()