code: def recover(self, requeue=False):
          
          if not isinstance(requeue, bool):
              raise AMQPInvalidArgument('requeue should be a boolean')
          recover_frame = specification.Basic.Recover(requeue=requeue)
          return self._channel.rpc_request(recover_frame)
docs: Redeliver unacknowledged messages.
  
          :param bool requeue: Re-queue the messages
  
          :raises AMQPInvalidArgument: Invalid Parameters
          :raises AMQPChannelError: Raises if the channel encountered an error.
          :raises AMQPConnectionError: Raises if the connection
                                       encountered an error.
  
          :rtype: dict