docs: def inspect_periodic_tasks(self) -> List[Tuple[int, str]]:
          """Get the next periodic task schedule.
  
          Used only for debugging and during tests.
          """
          rv = self._r.zrangebyscore(
              self._to_namespaced(PERIODIC_TASKS_QUEUE_KEY),
              '-inf', '+inf', withscores=True
          )
          return [(int(r[1]), r[0].decode()) for r in rv]