def create(self):
        xos_args = self.get_xos_args()

        if not xos_args.get("site", None):
            raise Exception("Site is a required field of Node")
        if not xos_args.get("site_deployment", None):
            raise Exception("Deployment is a required field of Node")

        node = Node(**xos_args)
        node.caller = self.user
        node.save()

        self.postprocess(node)

        self.info((str(node), str(node.site), str(node.site_deployment.deployment)) % "Created Node '%s' on Site '%s' Deployment '%s'")
dataset/ETHPy150Open open-cloud/xos/xos/tosca/resources/node.py/XOSNode.create/swapped operands of `%`