Skip to content

Commit e1caa50

Browse files
committed
Added data type to the Parameters for those that I have added
1 parent cae7669 commit e1caa50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/qcodes/instrument_drivers/tektronix/AWG70000A.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def __init__(
191191
if channel not in list(range(1, num_channels + 1)):
192192
raise ValueError("Illegal channel value.")
193193

194-
self.state: Parameter = self.add_parameter(
194+
self.state: Parameter[int, Self] = self.add_parameter(
195195
"state",
196196
label=f"Channel {channel} state",
197197
get_cmd=f"OUTPut{channel}:STATe?",

0 commit comments

Comments
 (0)