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

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

src/p/r/Products.Calendaring-0.5b1/Products/Calendaring/marshaller.py   Products.Calendaring(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.WorkflowCore import WorkflowException
from Products.CMFCalendar.Event import Event as CMFEvent
from Products.Archetypes.Marshall import Marshaller
 

src/c/y/cyn.in-HEAD/products/Calendaring/marshaller.py   cyn.in(Download)
from Products.CMFCore.utils import getToolByName
from Products.CMFCore.WorkflowCore import WorkflowException
from Products.CMFCalendar.Event import Event as CMFEvent
from Products.Archetypes.Marshall import Marshaller
 

src/p/r/Products.CMFCalendar-2.3.0-beta/Products/CMFCalendar/tests/test_Event.py   Products.CMFCalendar(Download)
    def _getTargetClass(self):
        from Products.CMFCalendar.Event import Event
 
        return Event
 
    def _makeOne(self, id, *args, **kw):
        from Products.CMFCalendar.Event import Event
 
        # NullResource.PUT calls the PUT method on the bare object!
        return Event(id, *args, **kw)