Example #1
0
 def _with_validator(*args, **kwargs):
     return self.with_validator(
         validators.create_validator(name, *args, **kwargs))
Example #2
0
 def _with_validator(*args, **kwargs):  # pylint: disable=invalid-name
   return self.with_validator(
       validators.create_validator(attr, *args, **kwargs))
Example #3
0
 def _with_validator(*args, **kwargs):  # pylint: disable=invalid-name
   return self.with_validator(
       validators.create_validator(attr, *args, **kwargs))