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

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

src/f/t/ftw.publisher.receiver-2.0.2/ftw/publisher/receiver/browser/views.py   ftw.publisher.receiver(Download)
from ftw.publisher.receiver import decoder
from ftw.publisher.receiver import getLogger
from ftw.publisher.receiver.events import AfterCreatedEvent, AfterUpdatedEvent
from plone.app.uuid.utils import uuidToObject
from zope import event
        # return the appropriate CommunicationState - notify events
        if new_object:
            event.notify(AfterCreatedEvent(object))
            return states.ObjectCreatedState()
        else: