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

All Samples(69)  |  Call(35)  |  Derive(1)  |  Import(33)

src/p/r/Products.ATSchemaEditorNG-0.6/Products/ATSchemaEditorNG/SchemaEditor.py   Products.ATSchemaEditorNG(Download)
from Products.CMFCore.utils import getToolByName
from Products.Archetypes.public import DisplayList, BaseFolderSchema, Schema, FileField
from Products.Archetypes.utils import OrderedDict, shasattr
from Products.validation.config import validation
from Products.validation.validators import RegexValidator

src/g/e/getpaid.formgen-0.6/src/getpaid/formgen/content/getpaidFormMailerAdapter.py   getpaid.formgen(Download)
 
from Products.Archetypes.public import *
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes.utils import shasattr
 
            to = to_addr or '%s %s' % (recip_name, recip_email)
 
        headerinfo = OrderedDict()
 
        headerinfo['To'] = self.secure_header_line(to)

src/p/4/p4a.ploneevent-0.7.4/p4a/ploneevent/recurrence/schemaextender.py   p4a.ploneevent(Download)
from archetypes.schemaextender.field import ExtensionField
from Products.Archetypes import atapi
from Products.Archetypes.utils import OrderedDict
from Products.ATContentTypes.content.event import ATEvent
from dateable.kalends import IRecurringEvent

src/a/t/atreal.richfile.metadata-1.0.0rc1/atreal/richfile/metadata/extractors.py   atreal.richfile.metadata(Download)
from zope.interface import implements
from atreal.richfile.metadata.interfaces import IExtractorWrapper
from Products.Archetypes.utils import OrderedDict
import StringIO
 
        if not len(formated) or len(formated) == 1:
            return
        ordered = OrderedDict()
        for line in formated[1:]:
            item = line.split(':', 1)
            print "%s doesn't provide metadata" % self.__class__.__name__
            return
        metadata = OrderedDict()
        keys = result.keys()
        keys.sort()

src/v/a/valentine.multiparagraphfield-0.4/valentine/multiparagraphfield/utils.py   valentine.multiparagraphfield(Download)
from Products.Archetypes.utils import OrderedDict as BaseClass
 
class OrderedDict(BaseClass):
    """Container for a class with extra API for reordering, etc.
    Depreciated. I'll remove as soon as no classes having that class referenced"""

src/c/y/cyn.in-HEAD/src/ubify.coretypes/ubify/coretypes/utils.py   cyn.in(Download)
from Products.Archetypes.public import Schema
from Products.Archetypes.public import ManagedSchema
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes import atapi
 

src/p/4/p4a.ploneevent-0.7.4/p4a/ploneevent/schemaextender.py   p4a.ploneevent(Download)
from archetypes.schemaextender.field import ExtensionField
from Products.Archetypes import atapi
from Products.Archetypes.utils import OrderedDict
from Products.ATContentTypes.content.event import ATEvent
 
     def getOrder(self, original):
          res = OrderedDict()
 
          # Make "default" come first:          
          res['default'] = original['default']

src/c/o/collective.customicons-1.1/src/collective/customicons/at/extender.py   collective.customicons(Download)
from AccessControl import ClassSecurityInfo
from Products.Archetypes import atapi
from Products.Archetypes.utils import OrderedDict
from Products.Archetypes.interfaces import IVocabulary
from Products.validation import V_REQUIRED
    def getOrder(self, original):
        neworder = OrderedDict()
        for schemata in original.keys():
            neworder[schemata] = original[schemata]
        return neworder

src/c/o/collective.annotationbrowser-0.3/src/collective/annotationbrowser/browser/view.py   collective.annotationbrowser(Download)
import re
from zope.traversing.interfaces import ITraversable
from Products.Archetypes.utils import OrderedDict
from Products.CMFCore.permissions import ModifyPortalContent
 
    def ann_dict(self):
        ann = self.annotations()
        result = OrderedDict()
        for key in sorted(self.ann_keys()):
            is_editable = False

src/c/o/collective.pfg.soup-1.5.1/src/collective/pfg/soup/extender.py   collective.pfg.soup(Download)
from archetypes.schemaextender.field import ExtensionField
from Products.Archetypes import atapi
from Products.Archetypes.utils import OrderedDict
from .interfaces import IPfgSoupLayer
 
    def getOrder(self, original):
        neworder = OrderedDict()
        for schemata in original.keys():
            neworder[schemata] = original[schemata]
        return neworder

Previous  1 | 2 | 3 | 4  Next