Did I find the right examples for you? yes no

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

src/c/o/collective.portlet.quote-1.0.1/collective/portlet/quote/__init__.py   collective.portlet.quote(Download)
 
    content_types, constructors, ftis = atapi.process_types(
        atapi.listTypes(config.PROJECTNAME),
        config.PROJECTNAME)
 

src/c/o/collective.portlet.quote-1.0.1/collective/portlet/quote/content/quote.py   collective.portlet.quote(Download)
from collective.portlet.quote import RandomQuoteMessageFactory as _
from collective.portlet.quote.interfaces import IQuote
from collective.portlet.quote.config import PROJECTNAME
 
QuoteSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema((
 
 
atapi.registerType(Quote, PROJECTNAME)