def _update_changed_fields(self, node, rpc_node):
        for field in objects.Node.fields:
            try:
                patch_val = getattr(node, field)
            except AttributeError:
                # Ignore fields that aren't exposed in the API
                continue
            if patch_val == wtypes.Unset:
                patch_val = None
            if rpc_node[field] != patch_val:
                rpc_node[field] = patch_val
Run a scheduled job
dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/NodesController._update_changed_fields--crossover with--dataset/ETHPy150Open treasure-data/td-client-python/tdclient/schedule_model.py/Schedule.run