cyborg/objects/extarq.py
def save(self, context):
        """Update an ExtARQ record in the DB."""
        updates = self.obj_get_changes()
        db_extarq = self.dbapi.extarq_update(context, self.uuid, updates)
        db_devprof = ExtARQ.dbapi.device_profile_get_by_id(context,
                            db_extarq.device_profile_id)
        db_extarq['device_profile_name'] = db_devprof['name']
        self._from_db_object(self, db_extarq)
Update an ExtARQ record in the DB.
Update an ExtARQ record in the DB.
Update an ExtARQ record in the DB .
def save(self, context):
        updates = self.obj_get_changes()
        db_extarq = self.dbapi.extarq_update(context, self.uuid, updates)
        db_devprof = ExtARQ.dbapi.device_profile_get_by_id(context,
                            db_extarq.device_profile_id)
        db_extarq['device_profile_name'] = db_devprof['name']
        self._from_db_object(self, db_extarq)
def save ( self , context ) : updates = self . obj_get_changes ( ) db_extarq = self . dbapi . extarq_update ( context , self . uuid , updates ) db_devprof = ExtARQ . dbapi . device_profile_get_by_id ( context , db_extarq . device_profile_id ) db_extarq [ 'device_profile_name' ] = db_devprof [ 'name' ] self . _from_db_object ( self , db_extarq )
Update an ExtARQ record in the DB.
Update an ExtARQ record in the DB .
"""Update an ExtARQ record in the DB."""
self
context