class documentation

class UnicodeConverter(BaseConverter):

View In Hierarchy

This converter is the default converter and accepts any string but only one path segment. Thus the string can not include a slash.

This is the default validator.

Example:

Rule('/pages/<page>'),
Rule('/<string(length=2):lang_code>')
Parameters
mapthe Map.
minlengththe minimum length of the string. Must be greater or equal 1.
maxlengththe maximum length of the string.
lengththe exact length of the string.
Method __init__ Undocumented
Instance Variable regex Undocumented

Inherited from BaseConverter:

Method to​_python Undocumented
Method to​_url Undocumented
Class Variable weight Undocumented
Instance Variable map Undocumented
def __init__(self, map, minlength=1, maxlength=None, length=None):

Undocumented

Parameters
map:MapUndocumented
minlength:intUndocumented
maxlength:t.Optional[int]Undocumented
length:t.Optional[int]Undocumented
regex =

Undocumented