code: def decline(self, offer_id, filters=Filters()):
          
          logging.info('Declines offer {}'.format(offer_id))
          return self.driver.declineOffer(encode(offer_id),
                                          encode(filters))
docs: Declines an offer in its entirety and applies the specified
             filters on the resources (see mesos.proto for a description of
             Filters).
  
          Note that this can be done at any time, it is not necessary to do this
          within the Scheduler::resourceOffers callback.