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