aboutsummaryrefslogtreecommitdiff
path: root/qolab/tsdb/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/tsdb/__init__.py')
-rw-r--r--qolab/tsdb/__init__.py5
1 files changed, 5 insertions, 0 deletions
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):