Skip to content

Commit

Permalink
More removals.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcourtney committed Apr 18, 2024
1 parent 748028f commit 988e5a7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cirq-google/cirq_google/engine/stream_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@ def _get_retry_request_or_raise(
if not 'get_quantum_result' in current_request:
return get_result_request

# Code.JOB_ALREADY_EXISTS should never happen.
# The first stream request is always a CreateQuantumProgramAndJobRequest, which never fails
# with this error because jobs are scoped within a program.
# CreateQuantumJobRequests would fail with a PROGRAM_ALREADY_EXISTS if the job already
# exists because program and job creation happen atomically for a
# CreateQuantumProgramAndJobRequest.

raise StreamError(error.message)


Expand Down

0 comments on commit 988e5a7

Please sign in to comment.