Skip to content

Commit 00ec653

Browse files
authored
Merge pull request #1905 from jenshnielsen/remove_some_doc_types
Remove some doc types
2 parents 46d7878 + dfab95d commit 00ec653

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

qcodes/instrument/channel.py

+9-10
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,9 @@ class MultiChannelInstrumentParameter(MultiParameter):
9292
anything else.
9393
9494
Args:
95-
channels(list[chan_type]): A list of channels which we can operate on
95+
channels: A list of channels which we can operate on
9696
simultaneously.
97-
98-
param_name(str): Name of the multichannel parameter
97+
param_name: Name of the multichannel parameter
9998
"""
10099
def __init__(self,
101100
channels: Sequence[InstrumentChannel],
@@ -118,7 +117,7 @@ def set_raw(self, value: ParamRawDataType) -> None:
118117
Set all parameters to this value.
119118
120119
Args:
121-
value (Any): The value to set to. The type is given by the
120+
value: The value to set to. The type is given by the
122121
underlying parameter.
123122
"""
124123
for chan in self._channels:
@@ -141,24 +140,24 @@ class ChannelList(Metadatable):
141140
all channels, as well as addressing of individual channels.
142141
143142
Args:
144-
parent (Instrument): The instrument to which this channel
143+
parent: The instrument to which this channel
145144
should be attached.
146145
147-
name (str): The name of the channel list.
146+
name: The name of the channel list.
148147
149-
chan_type (InstrumentChannel): The type of channel contained
148+
chan_type: The type of channel contained
150149
within this list.
151150
152-
chan_list (Iterable[chan_type]): An optional iterable of
151+
chan_list: An optional iterable of
153152
channels of type ``chan_type``. This will create a list and
154153
immediately lock the :class:`ChannelList`.
155154
156-
snapshotable (bool): Optionally disables taking of snapshots
155+
snapshotable: Optionally disables taking of snapshots
157156
for a given channel list. This is used when objects
158157
stored inside a channel list are accessible in multiple
159158
ways and should not be repeated in an instrument snapshot.
160159
161-
multichan_paramclass (MultiChannelInstrumentParameter): The class of
160+
multichan_paramclass: The class of
162161
the object to be returned by the ``__getattr__``
163162
method of :class:`ChannelList`.
164163
Should be a subclass of :class:`MultiChannelInstrumentParameter`.

qcodes/instrument/visa.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class VisaInstrument(Instrument):
3535
``pyvisa-py`` backend. Note that QCoDeS does not install (or even require)
3636
ANY backends, it is up to the user to do that. see eg:
3737
http://pyvisa.readthedocs.org/en/stable/names.html
38-
metadata (Optional[Dict]): additional static metadata to add to this
38+
metadata: additional static metadata to add to this
3939
instrument's JSON snapshot.
4040
4141
See help for :class:`.Instrument` for additional information on writing

qcodes/station.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ class Station(Metadatable, DelegateAttributes):
8686
measurement (a list of actions).
8787
8888
Args:
89-
*components (list[Any]): components to add immediately to the
89+
*components: components to add immediately to the
9090
Station. Can be added later via ``self.add_component``.
91-
monitor (None): Not implemented, the object that monitors the system
92-
continuously.
93-
default (bool): Is this station the default?
94-
update_snapshot (bool): Immediately update the snapshot of each
91+
config_file: Path to YAML file to load the station config from.
92+
use_monitor: Should the QCoDeS monitor be activated for this station.
93+
default: Is this station the default?
94+
update_snapshot: Immediately update the snapshot of each
9595
component as it is added to the Station.
9696
9797
Attributes:

qcodes/utils/validators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ def __init__(self, allowed_keys: TSequence[Hashable] = None) -> None:
941941
Validator for dictionary keys
942942
943943
Args:
944-
allowed_keys (List): if set, all keys must be in allowed_keys
944+
allowed_keys: if set, all keys must be in allowed_keys
945945
"""
946946
self.allowed_keys = allowed_keys
947947
self._valid_values = ({0: 1},)

0 commit comments

Comments
 (0)