diff options
author | Théo de la Hogue | 2024-01-18 21:28:11 +0100 |
---|---|---|
committer | Théo de la Hogue | 2024-01-18 21:28:11 +0100 |
commit | a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4 (patch) | |
tree | e1d6bc38f304f9695a781ac23ffe42db9a0cd66c /src | |
parent | 01e39b4fe6e137bab1e89ff87992892240e2c220 (diff) | |
download | argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.zip argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.gz argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.bz2 argaze-a7c9cbd0eb3e54f8c3ac7d6b06c59860a9c88ac4.tar.xz |
Improving default value and annotations.
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/DataFeatures.py | 6 |
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: |