aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-01-18 21:28:11 +0100
committerThéo de la Hogue2024-01-18 21:28:11 +0100
commita7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4 (patch)
treee1d6bc38f304f9695a781ac23ffe42db9a0cd66c
parent01e39b4fe6e137bab1e89ff87992892240e2c220 (diff)
downloadargaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.zip
argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.gz
argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.bz2
argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.xz
Improving default value and annotations.
-rw-r--r--src/argaze/DataFeatures.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py
index 95b4f3f..3e372fb 100644
--- a/src/argaze/DataFeatures.py
+++ b/src/argaze/DataFeatures.py
@@ -439,10 +439,10 @@ class TimeStampedDataLogger():
"""Abstract class to define what should provide a timestamped data logger."""
selector: str = field(default='True')
- """Code evaluated to select data under a condition. Default 'True' string means that all incoming data will be accepted."""
+ """Code evaluated to handle log under a condition. Default 'True' string means that all incoming data will be accepted."""
- formatter: str|list = field(default='timestamp, data')
- """Code (or list of codes) evaluated to format timestamp and data to emit. Default 'timestamp, data' string means that all incoming timestamp and data values will be emitted."""
+ formatter: str = field(default='')
+ """Code evaluated to edit the log."""
@classmethod
def from_dict(self, logger_data: dict) -> TimeStampedDataLoggerType: