Commit 8306e291 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Sphinxify my_validators.py.

parent 69db1105
""" custom validators and correctors.
@author: R. Le Gac
""" Custom validators.
"""
from gluon.validators import IS_IN_SET
class IS_IN_USET(IS_IN_SET):
"""IS_IN_SET validator but working with unicode string.
Args:
theset (list or tuple or dict):
the reference set containing utf-8 strings.
Keyword Args:
**kwargs (dict):
the keyword arguments of the validator ``IS_IN_SET``.
"""
def __init__(self, theset, **kwargs):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment