Skip to content

Commit

Permalink
Fix mypy error on master (quantumlib#5865)
Browse files Browse the repository at this point in the history
* Fix mypy error on master

* Remove .value

* Remove unused import
  • Loading branch information
tanujkhattar authored and rht committed May 1, 2023
1 parent 9fc388c commit a2cdd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-google/cirq_google/engine/engine_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def _run_retry_async(self, func: Callable[[_M], Awaitable[_R]], request: _
message = err.message
# Raise RuntimeError for exceptions that are not retryable.
# Otherwise, pass through to retry.
if err.code.value not in RETRYABLE_ERROR_CODES:
if err.code not in RETRYABLE_ERROR_CODES:
raise EngineException(message) from err

if current_delay > self.max_retry_delay_seconds:
Expand Down

0 comments on commit a2cdd32

Please sign in to comment.