Skip to content

Commit 3611268

Browse files
committed
Add news for 4412
1 parent d6edc3c commit 3611268

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)