def search_prospects(self, search_type, query, offset=None, orgoffset=None):
        """ Supports doing a search for prospects by city, reion, or country.

        search_type should be one of 'city' 'region' 'country'.

        This method is intended to be called with one of the outputs from the
        get_options_for_query method above.

        """
        
        params = {'q': query}
        if offset and orgoffset:
            params['orgOffset'] = orgoffset
            params['timeOffset'] = offset
          
        return self._call(search_type % 'search/%s', params)
dataset/ETHPy150Open HubSpot/hapipy/hapi/prospects.py/ProspectsClient.search_prospects/swapped operands of `%`