Skip to content

Commit 2b7cb9a

Browse files
committed
Fix label_properties setter type
1 parent 0ba1a1d commit 2b7cb9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pystac/extensions/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def label_properties(self) -> Optional[List[str]]:
722722
return self.summaries.get_list(PROPERTIES_PROP)
723723

724724
@label_properties.setter
725-
def label_properties(self, v: Optional[List[LabelClasses]]) -> None:
725+
def label_properties(self, v: Optional[List[str]]) -> None:
726726
self._set_summary(PROPERTIES_PROP, v)
727727

728728
@property

0 commit comments

Comments
 (0)