def failure_to_exc_info(failure):
    if isinstance(failure, Failure):
        return (failure.type, failure.value, failure.getTracebackObject())
Method sets values for query_parameters.
dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/log.py/failure_to_exc_info--crossover with--dataset/ETHPy150Open slawek87/geolocation-python/geolocation/geocode/client.py/GeocodeApiClient.set_query_parameters