def taxrates_get(self): cmd = E.taxrates('', action='get') res = self.send_command( cmd, read_reply=True, ) tax_rates = [(ptu.get('name'), ptu.text) for ptu in res.taxrates.ptu] return tax_rates