Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(2) | Derive(0) | Import(2)
src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseObject.py Products.Archetypes(Download)
from Products.Archetypes.interfaces import ISchema from Products.Archetypes.interfaces.field import IFileField from Products.Archetypes.validator import AttributeValidator from Products.Archetypes.config import ATTRIBUTE_SECURITY from Products.Archetypes.config import RENAME_AFTER_CREATION_ATTEMPTS
# AttributeValidator for the low-down. if ATTRIBUTE_SECURITY: attr_security = AttributeValidator() security.setDefaultAccess(attr_security) # Delete so it cannot be accessed anymore.
src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseObject.py Products.Archetypes(Download)
from Products.Archetypes.interfaces import ISchema from Products.Archetypes.interfaces.field import IFileField from Products.Archetypes.validator import AttributeValidator from Products.Archetypes.config import ATTRIBUTE_SECURITY from Products.Archetypes.config import RENAME_AFTER_CREATION_ATTEMPTS
# AttributeValidator for the low-down. if ATTRIBUTE_SECURITY: attr_security = AttributeValidator() security.setDefaultAccess(attr_security) # Delete so it cannot be accessed anymore.