Did I find the right examples for you? yes no

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

src/p/r/Products.ImageRepository-1.0.2/Products/ImageRepository/__init__.py   Products.ImageRepository(Download)
 
    content_types, constructors, ftis = process_types(
        listTypes(config.PROJECTNAME), config.PROJECTNAME)
 
    ContentInit(

src/p/r/Products.ImageRepository-1.0.2/Products/ImageRepository/content/ImageRepository.py   Products.ImageRepository(Download)
from Products.Archetypes.public import registerType
from Products.ImageRepository.interfaces import IImageRepository
from Products.ImageRepository.config import PROJECTNAME
 
from Products.ATContentTypes.atct import ATBTreeFolderSchema
    __implements__ = updateInterfaces(ATCTBTreeFolder.__implements__, IATBTreeFolder)
 
registerType(ImageRepository, PROJECTNAME)