docs: def get_scheduler(self, interval=None, queue=None):
          """
          When installed returns a ``rq_scheduler.Scheduler`` instance to
          schedule job execution, e.g.::
  
              scheduler = rq.get_scheduler(interval=10)
  
          :param interval: Time in seconds of the periodic check for scheduled
                           jobs.
          :type interval: int
          :param queue: Name of the queue to enqueue in, defaults to
                       :attr:`~flask_rq2.RQ.scheduler_queue`.
          :type queue: str
          """
          if interval is None:
              interval = self.scheduler_interval
  
          if not queue:
              queue = self.scheduler_queue
  
          scheduler_cls = import_attribute(self.scheduler_class)
  
          scheduler = scheduler_cls(
              queue_name=queue,
              interval=interval,
              connection=self.connection,
          )
          return scheduler