Skip to content

Commit 77c4979

Browse files
committed
Ensure that the various data classes can be unpacked.
1 parent 8b92524 commit 77c4979

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

colour_checker_detection/detection/segmentation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
)
4242
from colour.models import cctf_encoding
4343
from colour.utilities import (
44+
MixinDataclassIterable,
4445
Structure,
4546
as_float_array,
4647
as_int_array,
@@ -149,7 +150,7 @@
149150

150151

151152
@dataclass
152-
class ColourCheckersDetectionData:
153+
class ColourCheckersDetectionData(MixinDataclassIterable):
153154
"""
154155
Colour checkers detection data used for plotting, debugging and further
155156
analysis.
@@ -174,7 +175,7 @@ class ColourCheckersDetectionData:
174175

175176

176177
@dataclass
177-
class ColourCheckerSwatchesData:
178+
class ColourCheckerSwatchesData(MixinDataclassIterable):
178179
"""
179180
Colour checker swatches data used for plotting, debugging and further
180181
analysis.

0 commit comments

Comments
 (0)