Part of stoqdrivers.printers.capabilities View In Hierarchy
Method | __init__ | Creates a new driver capability. A driver capability can be |
Method | check_value | Undocumented |
Parameters | min_len | The minimum length of a string (type: number ) |
max_len | The max length of a string (type: number @param max_size The maximum size for a value ) | |
max_size | (type: number ) | |
min_size | The minimum size for a value (type: number ) | |
digits | The number of digits that a number can have (type: number ) | |
decimals | If the max value for the capability is a float, this parameter specifies
the max precision that the number can have.
(type: number
Note that 'max_len' can't be used together with 'min_size', 'max_size' and 'digits', in the same way that 'max_size' and 'min_size' can't be used with 'digits'. The values defined for these parameters are used also to verify the value type in the 'check_value' method. ) |