class documentation
class UnicodeConverter(BaseConverter): (source)
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>') :param map: the :class:`Map`. :param minlength: the minimum length of the string. Must be greater or equal 1. :param maxlength: the maximum length of the string. :param length: the exact length of the string.
Method | __init__ |
Undocumented |
Class Variable | part |
Undocumented |
Instance Variable | regex |
Undocumented |
Inherited from BaseConverter
:
Method | to |
Undocumented |
Method | to |
Undocumented |
Class Variable | weight |
Undocumented |
Instance Variable | map |
Undocumented |
def __init__(self, map:
Map
, minlength: int
= 1, maxlength: t.Optional[ int]
= None, length: t.Optional[ int]
= None):
(source)
¶
Undocumented