We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6edc3c commit 3611268Copy full SHA for 3611268
docs/changes/newsfragments/4412.improved
@@ -0,0 +1,13 @@
1
+`InstrumentBase.add_parameter` now returns the created parameter.
2
+This allows explicitly assigning the parameter as an attribute on
3
+the instrument class. This in turn enables type checkers and
4
+documentation tools to detect the existence and type of the
5
+parameter statically.
6
+
7
+QCoDeS ships with a tool to automatically refactor instruments in this way.
8
9
+See `Creating-Instrument-Drivers <../examples/writing_drivers/Creating-Instrument-Drivers.ipynb>`__
10
+for more details.
11
12
+It is the plan to transform all drivers shipping with QCoDeS in this way
13
+as soon as possible.
0 commit comments