driver/driver_config_builder.py
def check_monitor_interval(cls, val: int) -> int:  # pylint: disable=no-self-argument, no-self-use
        """Validate that monitor_interval is positive and at least 60 seconds."""
        if val < 60:
            raise ValueError(
                "Invalid driver option monitor_interval, positive value"
                f" is expected, but {val} is found"
            )
        return val
Validate that monitor_interval is positive and at least 60 seconds.
Validate that monitor_interval is positive and at least 60 seconds.
Validate that monitor_interval is positive and at least 60 seconds .
def check_monitor_interval(cls, val: int) -> int:  
        if val < 60:
            raise ValueError(
                "Invalid driver option monitor_interval, positive value"
                f" is expected, but {val} is found"
            )
        return val
def check_monitor_interval ( cls , val : int ) -> int : if val < 60 : raise ValueError ( "Invalid driver option monitor_interval, positive value" f" is expected, but {val} is found" ) return val
Validate that monitor_interval is positive and at least 60 seconds.
Validate that monitor_interval is positive and at least 60 seconds .
# pylint: disable=no-self-argument, no-self-use """Validate that monitor_interval is positive and at least 60 seconds."""
cls
val
int