Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(65) | Call(37) | Derive(0) | Import(28)
src/p/r/Products.Archetypes-HEAD/Products/Archetypes/WebDAVSupport.py Products.Archetypes(Download)
from Products.Archetypes.event import WebDAVObjectInitializedEvent from Products.Archetypes.event import WebDAVObjectEditedEvent from Products.Archetypes.utils import shasattr, mapply from zope.interface import implements, Interface
'REQUEST': REQUEST, 'RESPONSE': RESPONSE} ddata = mapply(marshaller.demarshall, *args, **kwargs) if (shasattr(self, 'demarshall_hook') and self.demarshall_hook):
src/s/l/slc.publications-4.7.6/slc/publications/adapter/publication.py slc.publications(Download)
from zope import component from Products.Archetypes.utils import mapply from Products.ATContentTypes import interface as atctifaces
__traceback_info__ = (ob, field, mutator) result[1]['field'] = field.__name__ mapply(mutator, result[0], **result[1]) ob.reindexObject()
src/a/r/archetypes.uploadreferencewidget-0.2.1/archetypes/uploadreferencewidget/patch.py archetypes.uploadreferencewidget(Download)
from inspect import getargs import logging from Products.Archetypes.utils import mapply from Products.Archetypes.Widget import TypesWidget from Products.Archetypes.BaseObject import BaseObject
__traceback_info__ = (self, field, mutator) result[1]['field'] = field.__name__ mapply(mutator, result[0], **result[1]) self.reindexObject()
src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/ArchetypeTool.py Products.Archetypes(Download)
from Products.Archetypes.utils import findDict from Products.Archetypes.utils import DisplayList from Products.Archetypes.utils import mapply from Products.Archetypes.Renderer import renderer
def __init__(self, *args, **kw): self._extra = kw['extra'] del kw['extra'] args = (self,) + args mapply(PageTemplateFile.__init__, *args, **kw)
src/p/r/Products.Archetypes-HEAD/Products/Archetypes/ArchetypeTool.py Products.Archetypes(Download)
from Products.Archetypes.utils import findDict from Products.Archetypes.utils import DisplayList from Products.Archetypes.utils import mapply from Products.Archetypes.Renderer import renderer
def __init__(self, *args, **kw): self._extra = kw['extra'] del kw['extra'] args = (self,) + args mapply(PageTemplateFile.__init__, *args, **kw)
src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/Marshall.py Products.Archetypes(Download)
from Products.Archetypes.log import log from Products.Archetypes.utils import shasattr from Products.Archetypes.utils import mapply sample_data = r"""title: a title
continue kw = {'raw': 1, 'field': field.__name__} value = mapply(accessor, **kw) if type(value) in [ListType, TupleType]: value = '\n'.join([str(v) for v in value])
src/p/r/Products.Archetypes-HEAD/Products/Archetypes/Marshall.py Products.Archetypes(Download)
from Products.Archetypes.log import log from Products.Archetypes.utils import shasattr from Products.Archetypes.utils import mapply sample_data = r"""title: a title
continue kw = {'raw': 1, 'field': field.__name__} value = mapply(accessor, **kw) if type(value) in [ListType, TupleType]: value = '\n'.join([str(v) for v in value])
src/c/y/cyn.in-HEAD/products/Calendaring/tools/calendar.py cyn.in(Download)
from AccessControl import ClassSecurityInfo, Unauthorized from Products.Archetypes.utils import mapply from Products.CMFCore.utils import getToolByName from Products.CMFPlone.CalendarTool import CalendarTool as BaseTool
'REQUEST':REQUEST, 'RESPONSE':RESPONSE} mapply(marshaller.demarshall, *args, **kwargs) return items
src/c/y/cyn.in-HEAD/products/Calendaring/content/calendar.py cyn.in(Download)
from Products.Archetypes.public import * from Products.Archetypes.utils import mapply from Products.Calendaring.config import * from Products.Calendaring.marshaller import CalendarMarshaller
'REQUEST':REQUEST, 'RESPONSE':RESPONSE} mapply(marshaller.demarshall, *args, **kwargs) return items
src/p/r/Products.ECAutoAssessmentBox-1.4.2/Products/ECAutoAssessmentBox/content/DynamicDataField.py Products.ECAutoAssessmentBox(Download)
# Plone imports #from Products.Archetypes.public import * from Products.Archetypes.utils import mapply from Products.Archetypes.Field import ObjectField, registerField, encode #from Products.Archetypes.Field import decode
kw = {'content_instance' : content_instance, 'field' : self} value = mapply(method, *args, **kw) else:
Previous 1 | 2 | 3 Next