code: def ext_pillar(minion_id,
                 pillar,
                 *args,
                 **kwargs):
      '''
      Execute queries against MySQL, merge and return as a dict
      '''
      return MySQLExtPillar().fetch(minion_id, pillar, *args, **kwargsf ext_pillar(minion_id,
                 pillar,
                 *args,
                 **kwargs):
      '''
      Execute queries against MySQL, merge and return as a dict
      '''
      return MySQLExtPillar().fetch(minion_id, pillar, *args, **kwargs)
docs: Execute queries against MySQL, merge and return as a dict