Did I find the right examples for you? yes no

All Samples(8)  |  Call(1)  |  Derive(1)  |  Import(6)

src/c/o/collective.anotherdynamicgroupsplugin-0.3/collective/anotherdynamicgroupsplugin/plugin.py   collective.anotherdynamicgroupsplugin(Download)
from .interfaces import IGroupProvider
from Products.CMFCore.utils import getToolByName
from Products.PlonePAS.interfaces.group import IGroupIntrospection
from Products.PlonePAS.tools.groupdata import GroupData
from Products.PluggableAuthService.plugins.DynamicGroupsPlugin import DynamicGroupsPlugin
from Products.PluggableAuthService.utils import classImplements
from zope.component import getAdapters
from zope.globalrequest import getRequest
 
class AnotherDynamicGroupsPlugin(DynamicGroupsPlugin):

src/c/o/collective.contentgroup-0.1b3/collective/contentgroup/dynamicgroups.py   collective.contentgroup(Download)
from plone.memoize.volatile import cache
 
from Products.PluggableAuthService.plugins.DynamicGroupsPlugin import (
    DynamicGroupsPlugin)
from Products.CMFCore.utils import getToolByName

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/plugins/tests/test_exportimport.py   Products.PluggableAuthService(Download)
        def _makePlugin(self, id, *args, **kw):
            from Products.PluggableAuthService.plugins.DynamicGroupsPlugin \
                import DynamicGroupsPlugin
 
            return DynamicGroupsPlugin(id, *args, **kw)

src/p/r/Products.PluggableAuthService-1.10.0/Products/PluggableAuthService/plugins/tests/test_DynamicGroupsPlugin.py   Products.PluggableAuthService(Download)
    def _getTargetClass( self ):
 
        from Products.PluggableAuthService.plugins.DynamicGroupsPlugin \
            import DynamicGroupsPlugin
 

src/c/o/collective.contentgroup-0.1b3/collective/contentgroup/tests/test_group_manager.py   collective.contentgroup(Download)
from Products.PluggableAuthService.plugins.DynamicGroupsPlugin import (
    DynamicGroupsPlugin, addDynamicGroupsPlugin)
from base_groupmanager import BaseGroupManagerTestCase
from collective.contentgroup.groupmanager import (PortalGroupsGroupManager, 
    DGPGroupsGroupManager)

src/c/o/collective.contentgroup-0.1b3/collective/contentgroup/tests/test_dynamicgroups.py   collective.contentgroup(Download)
from base import BaseTestCase
from Products.PluggableAuthService.plugins.DynamicGroupsPlugin import (
    DynamicGroupsPlugin, addDynamicGroupsPlugin)
import unittest
from StringIO import StringIO