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)