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

All Samples(300)  |  Call(0)  |  Derive(165)  |  Import(135)
Base class for objects that explicitly acquire attributes from containers

src/b/d/bda.plone.ajax-1.5/src/bda/plone/ajax/examples/provider.py   bda.plone.ajax(Download)
from Acquisition import Explicit
from zope.interface import Interface
from zope.interface import implementer
from zope.component import adapter
from zope.publisher.interfaces.browser import IBrowserRequest
class Provider(Explicit):
    template = ViewPageTemplateFile(u'tile_b.pt')
 
    def __init__(self, context, request, view):
        self.__parent__ = view

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
 
from ComputedAttribute import ComputedAttribute
class Wrapper(Explicit):
    """Wrapper object for access to sub objects."""
    __allow_access_to_unprotected_subobjects__ = 1
 
    def __init__(self, data, filename, mimetype):

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
 
from ComputedAttribute import ComputedAttribute
class Wrapper(Explicit):
    """Wrapper object for access to sub objects."""
    __allow_access_to_unprotected_subobjects__ = 1
 
    def __init__(self, data, filename, mimetype):

src/z/o/Zope2-2.13.22/src/OFS/ZDOM.py   Zope2(Download)
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.Permissions import access_contents_information
from Acquisition import Explicit
from Acquisition import Implicit
from Acquisition import aq_base
class Document(Explicit, Node):
    """
    Document Interface
    """
 

src/z/o/Zope2-2.13.22/src/OFS/PropertySheets.py   Zope2(Download)
from Acquisition import aq_base
from Acquisition import aq_parent
from Acquisition import Implicit, Explicit
from App.Common import iso8601_date
from App.Common import rfc1123_date

src/z/o/Zope2-2.13.22/src/App/special_dtml.py   Zope2(Download)
 
from Shared.DC.Scripts.Bindings import Bindings
from Acquisition import Explicit, aq_inner, aq_parent
from DocumentTemplate.DT_String import _marker, DTReturn, render_blocks
from DocumentTemplate.DT_Util import TemplateDict, InstanceDict
from AccessControl import getSecurityManager
from ComputedAttribute import ComputedAttribute
 
class DTMLFile(Bindings, Explicit, ClassicHTMLFile):

src/z/o/Zope-HEAD/src/App/special_dtml.py   Zope(Download)
 
from Shared.DC.Scripts.Bindings import Bindings
from Acquisition import Explicit, aq_inner, aq_parent
from DocumentTemplate.DT_String import _marker, DTReturn, render_blocks
from DocumentTemplate.DT_Util import TemplateDict, InstanceDict
from AccessControl import getSecurityManager
from ComputedAttribute import ComputedAttribute
 
class DTMLFile(Bindings, Explicit, ClassicHTMLFile):

src/p/r/Products.CompositePage-1.1/Products/CompositePage/composite.py   Products.CompositePage(Download)
from AccessControl.ZopeGuards import guarded_getattr
from AccessControl.class_init import InitializeClass
from Acquisition import Explicit
from Acquisition import aq_base
from Acquisition import aq_inner
class SlotGenerator(Explicit):
    """Automatically makes slots available to the template.
 
    Note: instances of this class are shared across threads.
    """

src/p/l/plone.app.portlets-3.0.1/plone/app/portlets/browser/editmanager.py   plone.app.portlets(Download)
from five.customerize.zpt import TTWViewTemplateRenderer
 
from Acquisition import Explicit, aq_parent, aq_inner
from Acquisition.interfaces import IAcquirer
 
class EditPortletManagerRenderer(Explicit):
    """Render a portlet manager in edit mode.
 
    This is the generic renderer, which delegates to the view to determine
    which assignments to display.

src/z/o/Zope2-2.13.22/src/Products/PageTemplates/ZopePageTemplate.py   Zope2(Download)
from AccessControl.ZopeGuards import safe_builtins
from Acquisition import Acquired
from Acquisition import Explicit
from Acquisition import aq_get
from App.Common import package_home
class Src(Explicit):
    """ I am scary code """
    security = ClassSecurityInfo()
    security.declareObjectProtected(view_management_screens)
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next