From c0654b5ea718f9dd053704f6e5c47e740b313d27 Mon Sep 17 00:00:00 2001 From: Cheng Xing Date: Tue, 21 Nov 2023 00:19:38 +0000 Subject: [PATCH] StreamManager: make function params explicit --- cirq-google/cirq_google/engine/stream_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cirq-google/cirq_google/engine/stream_manager.py b/cirq-google/cirq_google/engine/stream_manager.py index 81c00a35985..14e1dcc89fa 100644 --- a/cirq-google/cirq_google/engine/stream_manager.py +++ b/cirq-google/cirq_google/engine/stream_manager.py @@ -311,9 +311,9 @@ def _generate_message_id(self) -> str: def _get_retry_request_or_raise( error: quantum.StreamError, - current_request, - create_program_and_job_request, - create_job_request, + current_request: quantum.QuantumRunStreamRequest, + create_program_and_job_request: quantum.QuantumRunStreamRequest, + create_job_request: quantum.QuantumRunStreamRequest, get_result_request: quantum.QuantumRunStreamRequest, ): """Decide whether the given stream error is retryable.