class documentation

class IntegerConverter(NumberConverter): (source)

View In Hierarchy

This converter only accepts integer values:: Rule("/page/<int:page>") By default it only accepts unsigned, positive values. The ``signed`` parameter will enable signed, negative values. :: Rule("/page/<int(signed=True):page>") :param map: The :class:`Map`. :param fixed_digits: The number of fixed digits in the URL. If you set this to ``4`` for example, the rule will only match if the URL looks like ``/0001/``. The default is variable length. :param min: The minimal value. :param max: The maximal value. :param signed: Allow signed (negative) values. .. versionadded:: 0.15 The ``signed`` parameter.

Class Variable part_isolating Undocumented
Class Variable regex Undocumented

Inherited from NumberConverter:

Method __init__ Undocumented
Method to_python Undocumented
Method to_url Undocumented
Class Variable weight Undocumented
Instance Variable fixed_digits Undocumented
Instance Variable max Undocumented
Instance Variable min Undocumented
Instance Variable signed Undocumented
Property signed_regex Undocumented

Inherited from BaseConverter (via NumberConverter):

Instance Variable map Undocumented