You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: middleware.rb
    path of file: ./repos/sidekiq-unique-jobs/lib/sidekiq_unique_jobs
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module SidekiqUniqueJobs
  #
  # Provides the sidekiq middleware that makes the gem work
  #
  # @author Mikael Henriksson <mikael@mhenrixon.com>
  #
  module Middleware
    include Si
    
    def call(worker_class, item, queue, redis_pool = nil)
      @item       = item
      @queue      = queue
      @redis_pool = redis_pool
      self.job_class = worker_class
      return yield if unique_disabled?

      SidekiqUniqueJobs::Job.prepare(item)

      with_logging_context do
        super
      end
    end