Skip to content

Commit

Permalink
typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Coull committed Sep 6, 2024
1 parent a888b09 commit 83b3e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braket/devices/local_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 83b3e20

Please sign in to comment.