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

All Samples(14)  |  Call(7)  |  Derive(0)  |  Import(7)
Wrapper object for implicit acquisition

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import aq_parent
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
 
        XXX Maybe we should subclass field from Acquisition.Explicit?
        """
        return ExplicitAcquisitionWrapper(self.getField(key), self)
 
    security.declareProtected(permissions.View, 'getDefault')

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import aq_parent
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
 
        XXX Maybe we should subclass field from Acquisition.Explicit?
        """
        return ExplicitAcquisitionWrapper(self.getField(key), self)
 
    security.declareProtected(permissions.View, 'getDefault')

src/p/r/Products.ResourceRegistries-3.0/Products/ResourceRegistries/tools/BaseRegistry.py   Products.ResourceRegistries(Download)
from AccessControl.SecurityManagement import getSecurityManager
import Acquisition
from Acquisition import aq_base, aq_parent, aq_inner, ExplicitAcquisitionWrapper
from App.class_init import InitializeClass
from App.Common import rfc1123_date
        resource = resources.get(id, None)
        if resource is not None:
            return ExplicitAcquisitionWrapper(resource, self)
        return None
 

src/p/r/Products.ResourceRegistries-HEAD/Products/ResourceRegistries/tools/BaseRegistry.py   Products.ResourceRegistries(Download)
from AccessControl.SecurityManagement import getSecurityManager
import Acquisition
from Acquisition import aq_base, aq_parent, aq_inner, ExplicitAcquisitionWrapper
from App.class_init import InitializeClass
from App.Common import rfc1123_date
        resource = resources.get(id, None)
        if resource is not None:
            return ExplicitAcquisitionWrapper(resource, self)
        return None
 

src/c/o/collective.panels-1.7/src/collective/panels/traversal.py   collective.panels(Download)
from Acquisition import aq_base
from Acquisition import Implicit
from Acquisition import ExplicitAcquisitionWrapper
from OFS.Traversable import Traversable
 
                return self.request.response.redirect(referer)
 
            return ExplicitAcquisitionWrapper(adding, self)
 
        for panel in self.getAssignments():

src/c/o/collective.panels-HEAD/src/collective/panels/traversal.py   collective.panels(Download)
from Acquisition import aq_base
from Acquisition import Implicit
from Acquisition import ExplicitAcquisitionWrapper
from OFS.Traversable import Traversable
 
                return self.request.response.redirect(referer)
 
            return ExplicitAcquisitionWrapper(adding, self)
 
        for panel in self.getAssignments():

src/p/r/Products.CompoundField-1.1/Products/CompoundField/utils.py   Products.CompoundField(Download)
"""
"""
from Products.CompoundField.config import *
from Acquisition import ExplicitAcquisitionWrapper
 
        field = f_schema.get( full_name )
        prefix = full_name
    return ExplicitAcquisitionWrapper(field, context)