qcodes/instrument/sweep_values.py
def validate(self, values: Sequence[Any]) -> None:
        """
        Check that all values are allowed for this Parameter.

        Args:
            values: values to be validated.
        """
        if hasattr(self.parameter, 'validate'):
            for value in values:
                self.parameter.validate(value)

        Check that all values are allowed for this Parameter.

        Args:
            values: values to be validated.
        
Check that all values are allowed for this Parameter.
Check that all values are allowed for this Parameter .
def validate(self, values: Sequence[Any]) -> None:
        if hasattr(self.parameter, 'validate'):
            for value in values:
                self.parameter.validate(value)
def validate ( self , values : Sequence [ Any ] ) -> None : if hasattr ( self . parameter , 'validate' ) : for value in values : self . parameter . validate ( value )
Check that all values are allowed for this Parameter.
Check that all values are allowed for this Parameter .
"""
        Check that all values are allowed for this Parameter.

        Args:
            values: values to be validated.
        """
self
values
Sequence[Any]
values to be validated.
values to be validated .