Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/r/Products.ATGoogleMaps-0.7/Products/ATGoogleMaps/field.py   Products.ATGoogleMaps(Download)
        else:
            result = True
        return ObjectField.validate_required(self, instance, result, errors)
 
    security.declarePrivate('get')

src/p/r/Products.ATExtensions-1.1/Products/ATExtensions/field/record.py   Products.ATExtensions(Download)
                for subfield in self.required_subfields:
                    sub_value = value.get(subfield, None)
                    res = self.validate_required(instance, sub_value, errors)
                    if res is not None:
                        return res

src/p/r/Products.IntelliDateTime-1.3.2/src/Products/IntelliDateTime/field.py   Products.IntelliDateTime(Download)
    def validate_required(self, instance, value, errors):
        result = value is not None
        return ObjectField.validate_required(self, instance, result, errors)
 
 

src/a/r/archetypes.multifile-1.5/archetypes/multifile/MultiFileField.py   archetypes.multifile(Download)
    def validate_required(self, instance, value, errors):
        return ObjectField.validate_required(self, instance, value, errors)
 
    security.declareProtected(permissions.View, 'download')
    def download(self, instance, name, REQUEST=None, RESPONSE=None):