diff options
Diffstat (limited to 'ipalib/parameter.py')
-rw-r--r-- | ipalib/parameter.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipalib/parameter.py b/ipalib/parameter.py index 7605339d..55a9bc6d 100644 --- a/ipalib/parameter.py +++ b/ipalib/parameter.py @@ -416,6 +416,13 @@ class Param(ReadOnly): '%s.%s()' % (self.__class__.__name__, '_convert_scalar') ) + def validate(self, value): + """ + Check validity of ``value``. + + :param value: A proposed value for this parameter. + """ + class Bool(Param): """ |