aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test
diff options
context:
space:
mode:
authorThéo de la Hogue2024-04-26 03:54:14 +0200
committerThéo de la Hogue2024-04-26 03:54:14 +0200
commit6125539d82e13edc8a8df56a4e08483b9b4e43a4 (patch)
treeb0a134ff24ab6dc2a0a44aa5b2ac93c655cc2bbf /src/argaze.test
parent6e150b914e3bb0a7718410363498efb794b4ecbc (diff)
downloadargaze-6125539d82e13edc8a8df56a4e08483b9b4e43a4.zip
argaze-6125539d82e13edc8a8df56a4e08483b9b4e43a4.tar.gz
argaze-6125539d82e13edc8a8df56a4e08483b9b4e43a4.tar.bz2
argaze-6125539d82e13edc8a8df56a4e08483b9b4e43a4.tar.xz
Replacing TimestampedObject class by a @timestamp decorator.
Diffstat (limited to 'src/argaze.test')
-rw-r--r--src/argaze.test/DataFeatures.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/argaze.test/DataFeatures.py b/src/argaze.test/DataFeatures.py
index 04dfe9a..0635f3e 100644
--- a/src/argaze.test/DataFeatures.py
+++ b/src/argaze.test/DataFeatures.py
@@ -26,13 +26,12 @@ from argaze import DataFeatures
import pandas
import numpy
-class BasicDataClass(DataFeatures.TimestampedObject):
+@DataFeatures.timestamp
+class BasicDataClass():
"""Define a basic dataclass for testing purpose."""
def __init__(self, value: tuple = (), message: str = None, **kwargs):
- DataFeatures.TimestampedObject.__init__(self, **kwargs)
-
self.__value = value
self.__message = message