def save(self, context=None):
        updates = self.obj_get_changes()
        updated_port = self.dbapi.update_port(self.uuid, updates)
        self._from_db_object(self, updated_port)

    # NOTE(xek): We don't want to enable RPC on this call just yet. Remotable
    # methods can be used in the future to replace current explicit RPC calls.
    # Implications of calling new remote procedures should be thought through.
    # @object_base.remotable
Set the weight matrix of this graph. Requires as input an ndarray with the
dataset/ETHPy150Open openstack/ironic/ironic/objects/port.py/Port.save--crossover with--dataset/ETHPy150Open charanpald/APGL/apgl/graph/PySparseGraph.py/PySparseGraph.setWeightMatrix