Skip to content

Commit 9f776b3

Browse files
committed
Add missing str override
1 parent 04e0d26 commit 9f776b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pystac/extensions/label.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
class LabelType(str, Enum):
1313
"""Enumerates valid label types (RASTER or VECTOR)."""
14+
def __str__(self):
15+
return str(self.value)
16+
1417
VECTOR = 'vector'
1518
RASTER = 'raster'
1619

0 commit comments

Comments
 (0)