src/commands/train.py
def convert(self, value, param, ctx):
        """ Validate override key and Converts the value.
        """
        pattern = re.compile(self.OVERRIDE_PTRN)
        match = pattern.match(value)
        if not match:
            message = (
                f"The override format {value} is not supported. "
                f"Pattern: {self.OVERRIDE_PTRN}"
            )
            logger.exception(message)
            self.fail(message, param, ctx)
        return value
 Validate override key and Converts the value.
        
Validate override key and Converts the value.
Validate override key and Converts the value .
def convert(self, value, param, ctx):
        pattern = re.compile(self.OVERRIDE_PTRN)
        match = pattern.match(value)
        if not match:
            message = (
                f"The override format {value} is not supported. "
                f"Pattern: {self.OVERRIDE_PTRN}"
            )
            logger.exception(message)
            self.fail(message, param, ctx)
        return value
def convert ( self , value , param , ctx ) : pattern = re . compile ( self . OVERRIDE_PTRN ) match = pattern . match ( value ) if not match : message = ( f"The override format {value} is not supported. " f"Pattern: {self.OVERRIDE_PTRN}" ) logger . exception ( message ) self . fail ( message , param , ctx ) return value
Validate override key and Converts the value.
Validate override key and Converts the value .
""" Validate override key and Converts the value.
        """
self
value
param
ctx