def __init__(self, max_real_in_flight, max_total_in_flight, timeouts_config, debug=False):
        self.timeouts_config = timeouts_config
        self.max_real_in_flight = min(_MAX_IN_FLIGHT, max_real_in_flight)
        self.max_total_in_flight = max_total_in_flight
        self.input_queue = self.queue_class(max_real_in_flight)
        self.output_queue = self.queue_class(max_real_in_flight)

        # Temporary input queue
        self.tmp_input_queue = []

        # Temporary output queue (enqueue with `append`, dequeue with `pop(0)`).
        # Prevents threads from blocking
        self.tmp_output_queue = []

        # Number of in-flight operations in queues, not counting the
        # temporary output queue
        self.num_real_in_flight = 0

        self.output_hooks = []
        self.debug = debug
Returns an array of recent amendments
dataset/ETHPy150Open gatoatigrado/vimap/vimap/queue_manager.py/VimapQueueManager.__init__--crossover with--dataset/ETHPy150Open NYTimes/nytcampfin/nytcampfin.py/FilingsClient.amendments