Did I find the right examples for you? yes no

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

src/o/s/osha.quizzes-0.1/src/osha/quizzes/__init__.py   osha.quizzes(Download)
 
    content_types, constructors, ftis = atapi.process_types(
        atapi.listTypes(config.PROJECTNAME),
        config.PROJECTNAME
    )

src/o/s/osha.quizzes-0.1/src/osha/quizzes/content/pfgcorrectanswersadapter.py   osha.quizzes(Download)
# -*- coding: utf-8 -*-
"""Definition of the PFGCorrectAnswersAdapter content type"""
 
from AccessControl import ClassSecurityInfo
from osha.quizzes.config import PROJECTNAME
                message="Your score is: %i%%" % result)
 
atapi.registerType(PFGCorrectAnswersAdapter, PROJECTNAME)