@classmethod
    def save(cls, instance=None):
        if instance:
            db().add(instance)
        db().commit()
Save current changes for instance in DB.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/objects/base.py/NailgunObject.save