code: def query_provides(self, product, pipeline='default', search=False):
          
  
          if search:
              return self.search_mode_provides(product)
  
          pipe = self.pipelines[pipeline]
          try:
              return pipe.who_provides(product)
          except KeyError:
              raise ValueError('no mode provides %s' % product)
docs: Return the mode that provides a given product