예제 #1
0
파일: network.py 프로젝트: 1-bit/spyne
 def validate_native(cls, value):
     return SimpleModel.validate_native(cls, value)
예제 #2
0
 def validate_native(cls, value):
     return SimpleModel.validate_native(cls, value)
예제 #3
0
파일: string.py 프로젝트: plq/spyne
 def validate_native(cls, value):
     return (SimpleModel.validate_native(cls, value)
         and (value is None or (
             re_match_with_span(cls.Attributes, value)
         )))
예제 #4
0
 def validate_native(cls, value):
     return (SimpleModel.validate_native(cls, value)
         and (value is None or (
             re_match_with_span(cls.Attributes, value)
         )))