def METHOD_NAME(cls):
    for job in cls._jobs.values():
        for char in cls._invalid_chars:
            if char in job._id():
                raise RuntimeError(f"Invalid character in job id: {char}")
        yield job