code: def get_portchannel_info_by_intf_output_lacp_interface_name(self, **kwargs):
          
          config = ET.Element("config")
          get_portchannel_info_by_intf = ET.Element("get_portchannel_info_by_intf")
          config = get_portchannel_info_by_intf
          output = ET.SubElement(get_portchannel_info_by_intf, "output")
          lacp = ET.SubElement(output, "lacp")
          interface_name = ET.SubElement(lacp, "interface-name")
          interface_name.text = kwargs.pop('interface_name')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code