aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 00:12:58 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-14 00:12:58 -0400
commit935c05ae3b0421537e1d4aa06b24ac5fad869661 (patch)
tree66cf6b8f93c4a2fcc97df295a77831a4455a11c8
parent194bcbf4f304bfe8615fb872670057a367e723cb (diff)
downloadqolab-935c05ae3b0421537e1d4aa06b24ac5fad869661.tar.gz
qolab-935c05ae3b0421537e1d4aa06b24ac5fad869661.zip
fixed doc string
-rw-r--r--qolab/hardware/multimeter/bk_5491.py2
-rw-r--r--qolab/tsdb/__init__.py5
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):