aws_lambda_decorators/validators.py
def validate(self, value=None):
        """
        Check if a value adheres to the defined regular expression.

        Args:
            value (str): Value to be validated.
        """
        if value is None:
            return True

        return self._regexp.fullmatch(value) is not None

        Check if a value adheres to the defined regular expression.

        Args:
            value (str): Value to be validated.
        
Check if a value adheres to the defined regular expression.
Check if a value adheres to the defined regular expression .
def validate(self, value=None):
        if value is None:
            return True
        return self._regexp.fullmatch(value) is not None
def validate ( self , value = None ) : if value is None : return True return self . _regexp . fullmatch ( value ) is not None
Check if a value adheres to the defined regular expression.
Check if a value adheres to the defined regular expression .
"""
        Check if a value adheres to the defined regular expression.

        Args:
            value (str): Value to be validated.
        """
self
value
Value to be validated.
Value to be validated .