def validate_len ( self, object, name, value ):
        try:
            value = strx( value )
            if self.minlen <= len( value ) <= self.maxlen:
                return value
        except:
            pass

        self.error( object, name, value )
Customizes the behavior of :meth:`~flask.blueprints.Blueprint.add_url_rule.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/String.validate_len--crossover with--dataset/ETHPy150Open gwongz/flask-apiblueprint/flask_apiblueprint/apiblueprint.py/APIBlueprint.add_url_rule