def convert_to_xml_list(self, json): if "issues" in json: issues = json["issues"] helper = WorkflowHelper(self.base_url) alfred_xml = helper.convert_to_alfred_valid_xml_list(issues) return alfred_xml return ""
def convert_to_xml_single(self, json): helper = WorkflowHelper(self.base_url) alfred_xml = helper.convert_to_alfred_valid_xml_single(json) return alfred_xml