def get_repetitions_and_sweeps(self) -> tuple[int, list[cirq.Sweep]]:
        """Returns the repetitions and sweeps for the Quantum Engine job.

        Returns:
            A tuple of the repetition count and list of sweeps.
        """
        if self._job is None or self._job.run_context is None:
            self._job = self._get_job(return_run_context=True)
        return _deserialize_run_context(self._job.run_context)
Returns the repetitions and sweeps for the Quantum Engine job.

        Returns:
            A tuple of the repetition count and list of sweeps.
        
cirq-google/cirq_google/engine/engine_job.py