docs: def arch(self):
          """
          Return an architecture for this task.
  
          :returns: an arch string (eg "noarch", or "ppc64le"), or None this task
                    has no architecture associated with it.
          """
          if self.method in ('buildArch', 'createdistrepo', 'livecd'):
              return self.params[2]
          if self.method in ('createrepo', 'runroot'):
              return self.params[1]
          if self.method == 'createImage':
              return self.params[3]
          if self.method == 'indirectionimage':
              return self.params[0]['arch']