From 83b3e206ecbbb5d8fb596b0cbc47450b476dfc8e Mon Sep 17 00:00:00 2001 From: Coull Date: Fri, 6 Sep 2024 13:49:57 -0700 Subject: [PATCH] typing issue --- src/braket/devices/local_simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/devices/local_simulator.py b/src/braket/devices/local_simulator.py index 5c95e3826..b71cd180b 100644 --- a/src/braket/devices/local_simulator.py +++ b/src/braket/devices/local_simulator.py @@ -259,7 +259,7 @@ def _construct_payload( raise NotImplementedError(f"Unsupported task type {type(task_specification)}") @_construct_payload.register - def _(self, circuit: Circuit, inputs: Optional[dict[str, float], None], shots: Optional[int]): # noqa: UP007 + def _(self, circuit: Circuit, inputs: Optional[dict[str, float]], shots: Optional[int]): # noqa: UP007 simulator = self._delegate if DeviceActionType.OPENQASM in simulator.properties.action: validate_circuit_and_shots(circuit, shots)