From 376aba0040bfb6cdcb0fd5fb6a8e4d68c10cef5d Mon Sep 17 00:00:00 2001 From: Coull Date: Fri, 6 Sep 2024 13:36:14 -0700 Subject: [PATCH] last one --- src/braket/aws/aws_quantum_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/aws/aws_quantum_task.py b/src/braket/aws/aws_quantum_task.py index e60f37303..2c41c6293 100644 --- a/src/braket/aws/aws_quantum_task.py +++ b/src/braket/aws/aws_quantum_task.py @@ -665,7 +665,7 @@ def _( aws_session: AwsSession, create_task_kwargs: dict[str, Any], device_arn: str, - device_parameters: dict | BraketSchemaBase, + device_parameters: Union[dict, BraketSchemaBase], # noqa: UP007 disable_qubit_rewiring: bool, inputs: dict[str, float], gate_definitions: dict[tuple[Gate, QubitSet], PulseSequence],