accessmod/layer.py
def class_value(self, class_label: str) -> int:
        """Get land cover category integer value based on a label."""
        for value, label in self.labels.items():
            if label == class_label:
                return value
        return None
Get land cover category integer value based on a label.
Get land cover category integer value based on a label.
Get land cover category integer value based on a label .
def class_value(self, class_label: str) -> int:
        for value, label in self.labels.items():
            if label == class_label:
                return value
        return None
def class_value ( self , class_label : str ) -> int : for value , label in self . labels . items ( ) : if label == class_label : return value return None
Get land cover category integer value based on a label.
Get land cover category integer value based on a label .
"""Get land cover category integer value based on a label."""
self
class_label
str