Implement validate() for String
This commit is contained in:
parent
2da1f05326
commit
9152e40bfb
@ -120,6 +120,10 @@ class String(BaseType):
|
||||
def transform(self, value):
|
||||
return value.lower()
|
||||
|
||||
def validate(self, value):
|
||||
# Nothing to do
|
||||
return
|
||||
|
||||
|
||||
class Bool(BaseType):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user