diff options
-rw-r--r-- | src/argaze/DataFeatures.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py index 5fb0e84..e435709 100644 --- a/src/argaze/DataFeatures.py +++ b/src/argaze/DataFeatures.py @@ -26,7 +26,6 @@ import sys import threading import time from typing import Self -from dataclasses import dataclass, is_dataclass import cv2 import matplotlib.patches as mpatches @@ -111,11 +110,6 @@ def get_class_properties(cls: type) -> dict: properties: dict of properties stored by names """ - # Dataclass case - if is_dataclass(cls): - - return cls.__dataclass_fields__ - # Stop recursion when reaching core objects if cls is not object and cls is not PipelineStepObject and cls is not SharedObject: @@ -315,9 +309,6 @@ class DataDictionary(dict): __setattr__ = dict.__setitem__ __delattr__ = dict.__delitem__ -def metrics(cls): - """Decorate a class to make it a dataclass.""" - return dataclass(cls) def timestamp(cls): """Decorate a class to enable timestamp management.""" |