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

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
The workflow specification discovery adapter finds workflow
specifications in generic setup profiles.

A valid workflow specification file has a path (relative to a generic
setup profile) with the format:
`workflows/${workflow ID}/specification.txt`.

Example:

- package name: `my.package`(more...)

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/browser/details.py   ftw.lawgiver(Download)
from ftw.lawgiver.interfaces import IPermissionCollector
from ftw.lawgiver.interfaces import IWorkflowGenerator
from ftw.lawgiver.interfaces import IWorkflowSpecificationDiscovery
from ftw.lawgiver.wdl.interfaces import IWorkflowSpecificationParser
from zope.component import getMultiAdapter

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/browser/speclisting.py   ftw.lawgiver(Download)
from ftw.lawgiver.interfaces import IWorkflowSpecificationDiscovery
from ftw.lawgiver.wdl.interfaces import IWorkflowSpecificationParser
from zope.component import getMultiAdapter
from zope.component import getUtility
from zope.publisher.browser import BrowserView

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/discovery.py   ftw.lawgiver(Download)
from Products.CMFCore.utils import getToolByName
from ftw.lawgiver.interfaces import IWorkflowSpecificationDiscovery
from operator import itemgetter
from operator import methodcaller
from zope.component import adapts

src/f/t/ftw.lawgiver-1.2.2/ftw/lawgiver/tests/test_discovery.py   ftw.lawgiver(Download)
from ftw.lawgiver.interfaces import IWorkflowSpecificationDiscovery
from ftw.lawgiver.testing import LAWGIVER_INTEGRATION_TESTING
from plone.app.testing import PloneSandboxLayer
from unittest2 import TestCase
from zope.component import getMultiAdapter