Auto Generated Code

def confd_state_internal_cdb_datastore_pending_subscription_sync_priority(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        cdb = ET.SubElement(internal, "cdb")
        datastore = ET.SubElement(cdb, "datastore")
        name_key = ET.SubElement(datastore, "name")
        name_key.text = kwargs.pop('name')
        pending_subscription_sync = ET.SubElement(datastore, "pending-subscription-sync")
        priority = ET.SubElement(pending_subscription_sync, "priority")
        priority.text = kwargs.pop('priority')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)