Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/r/Products.mediaEvent-0.12/Products/mediaEvent/__init__.py   Products.mediaEvent(Download)
 
    content_types, constructors, ftis = atapi.process_types(
        atapi.listTypes(config.PROJECTNAME),
        config.PROJECTNAME)
 

src/p/r/Products.mediaEvent-0.12/Products/mediaEvent/content/mediaevent.py   Products.mediaEvent(Download)
 
from Products.mediaEvent.interfaces import IMediaEvent
from Products.mediaEvent.config import PROJECTNAME
 
MediaEventSchema = folder.ATFolderSchema.copy() + document.ATDocumentSchema.copy() + atapi.Schema((
    # -*- Your ATSchema to Python Property Bridges Here ... -*-
 
atapi.registerType(MediaEvent, PROJECTNAME)