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

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

src/a/r/archetypes.schemaextender-2.1.3/archetypes/schemaextender/benchmark.py   archetypes.schemaextender(Download)
from archetypes.schemaextender.interfaces import IExtensible
from archetypes.schemaextender.tests.mocks import ExtensibleType
from archetypes.schemaextender.tests.mocks import Extender
from archetypes.schemaextender.tests.mocks import OrderableExtender
from archetypes.schemaextender.tests.mocks import SchemaModifier

src/p/r/Products.CMFDiffTool-2.1/Products/CMFDiffTool/tests/at_compound_tests.py   Products.CMFDiffTool(Download)
            return
        from archetypes.schemaextender.field import ExtensionField
        from archetypes.schemaextender.tests.mocks import IHighlighted, Extender
 
        # custom field class which does not set attributes directly on the
        class TestSchemaExtender(Extender):
            adapts(ATDocument)
            fields = [
                HighlightedField('schemaextender_test',
                                 schemata='settings',

src/a/r/archetypes.schemaextender-2.1.3/archetypes/schemaextender/tests/testSchemaFactory.py   archetypes.schemaextender(Download)
import unittest
from archetypes.schemaextender.extender import instanceSchemaFactory
from archetypes.schemaextender.tests.case import TestCase
from archetypes.schemaextender.tests.mocks import Extender
from archetypes.schemaextender.tests.mocks import OrderableExtender