diff options
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/multimeter/bk_5491.py | 2 | ||||
-rw-r--r-- | qolab/tsdb/__init__.py | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/qolab/hardware/multimeter/bk_5491.py b/qolab/hardware/multimeter/bk_5491.py index cacb34b..270d7c8 100644 --- a/qolab/hardware/multimeter/bk_5491.py +++ b/qolab/hardware/multimeter/bk_5491.py @@ -5,7 +5,7 @@ import time class BK_5491(Multimeter): - """BK 5491 multimeter + r"""BK 5491 multimeter Make sure to switch off the ECHO at the multimeter communication setup. diff --git a/qolab/tsdb/__init__.py b/qolab/tsdb/__init__.py index 0981219..f4d703c 100644 --- a/qolab/tsdb/__init__.py +++ b/qolab/tsdb/__init__.py @@ -39,6 +39,11 @@ class Ingester(utsdb.Ingester): def tsdb_append_metric_for_class_setter_or_getter(tsdb_logger=None): + """Send results of setters and getters to TSDB. + + Intended to be used as decorator for setters and getters, + i.e. it expect the wrapped function to be something like getXXX or setXXX. + """ def wrap(f): @functools.wraps(f) def wrapper(*args, **kwds): |