def finish(self):
     values = self.pack_action_finish(self._context, self.instance_uuid)
     db_action = db.action_finish(self._context, values)
     self._from_db_object(self._context, self, db_action)
Exemple #2
0
 def finish(self):
     values = self.pack_action_finish(self._context, self.instance_uuid)
     db_action = db.action_finish(self._context, values)
     self._from_db_object(self._context, self, db_action)
 def action_finish(cls, context, instance_uuid, want_result=True):
     values = cls.pack_action_finish(context, instance_uuid)
     db_action = db.action_finish(context, values)
     if want_result:
         return cls._from_db_object(context, cls(), db_action)
Exemple #4
0
 def action_finish(cls, context, instance_uuid, want_result=True):
     values = cls.pack_action_finish(context, instance_uuid)
     db_action = db.action_finish(context, values)
     if want_result:
         return cls._from_db_object(context, cls(), db_action)