Auto Generated Code

def webui_data_stores_user_profile_saved_query_key(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        webui = ET.SubElement(config, "webui", xmlns="http://tail-f.com/ns/webui")
        data_stores = ET.SubElement(webui, "data-stores")
        user_profile = ET.SubElement(data_stores, "user-profile")
        username_key = ET.SubElement(user_profile, "username")
        username_key.text = kwargs.pop('username')
        saved_query = ET.SubElement(user_profile, "saved-query")
        key = ET.SubElement(saved_query, "key")
        key.text = kwargs.pop('key')

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