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

All Samples(89)  |  Call(45)  |  Derive(0)  |  Import(44)
Wrapper object for implicit acquisition

src/p/r/Products.PlacelessTranslationService-2.0.5/Products/PlacelessTranslationService/PlacelessTranslationService.py   Products.PlacelessTranslationService(Download)
from ExtensionClass import Base
from Acquisition import aq_acquire
from Acquisition import ImplicitAcquisitionWrapper
from AccessControl import ClassSecurityInfo
from AccessControl.Permissions import view, view_management_screens
            r = Folder.manage_main(self, self, REQUEST, *a, **kw)
        except AttributeError:
            manage_main = ImplicitAcquisitionWrapper(Folder.manage_main, self)
            r = manage_main(self, self, REQUEST, *a, **kw)
        if isinstance(r, unicode):

src/e/r/erp5-HEAD/product/ERP5Catalog/CatalogTool.py   erp5(Download)
from Products.CMFCore.utils import UniqueObject, _getAuthenticatedUser, getToolByName
from Products.ERP5Type.Globals import InitializeClass, DTMLFile
from Acquisition import aq_base, aq_inner, aq_parent, ImplicitAcquisitionWrapper
from Products.CMFActivity.ActiveObject import ActiveObject
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
        w.subject_set_uid = subject_set_uid
 
        return ImplicitAcquisitionWrapper(w, aq_parent(document_object))
 
    security.declarePrivate('reindexObject')

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import aq_inner
from Acquisition import aq_parent
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
    def Schema(self):
        """Return a (wrapped) schema instance for this object instance.
        """
        return ImplicitAcquisitionWrapper(ISchema(self), self)
 

src/p/r/Products.Archetypes-HEAD/Products/Archetypes/BaseObject.py   Products.Archetypes(Download)
from Acquisition import aq_inner
from Acquisition import aq_parent
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import ExplicitAcquisitionWrapper
from Acquisition import Explicit
    def Schema(self):
        """Return a (wrapped) schema instance for this object instance.
        """
        return ImplicitAcquisitionWrapper(ISchema(self), self)
 

src/z/o/Zope2-2.13.22/src/Products/ZODBMountPoint/MountedObject.py   Zope2(Download)
 
from AccessControl.class_init import InitializeClass
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import aq_base
from Acquisition import aq_inner
            return self._getOrOpenObject(parent)
        except:
            return ImplicitAcquisitionWrapper(self, parent)
 
 

src/z/o/Zope-HEAD/src/Products/ZODBMountPoint/MountedObject.py   Zope(Download)
 
from AccessControl.class_init import InitializeClass
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import aq_base
from Acquisition import aq_inner
            return self._getOrOpenObject(parent)
        except:
            return ImplicitAcquisitionWrapper(self, parent)
 
 

src/a/c/AccessControl-3.0.8/src/AccessControl/PermissionMapping.py   AccessControl(Download)
from cgi import escape
 
from Acquisition import ImplicitAcquisitionWrapper
from ExtensionClass import Base
from zope.interface import implements
    def __of__(self, parent):
        w, m, p = self._ugh
        return m.__of__(
            ImplicitAcquisitionWrapper(
                w, parent))
    def __getattr__(self, name):
        w, m, parent = self._ugh
        self=m.__of__(
            ImplicitAcquisitionWrapper(
                w, parent))
    def __call__(self, *args, **kw):
        w, m, parent = self._ugh
        self=m.__of__(
            ImplicitAcquisitionWrapper(
                w, parent))

src/z/o/Zope2-2.13.22/src/Products/TemporaryFolder/mount.py   Zope2(Download)
 
from Acquisition import Implicit
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import aq_base
from ZODB.POSException import StorageError
            return self._getOrOpenObject(parent)
        except:
            return ImplicitAcquisitionWrapper(self, parent)
 
    def _test(self, parent):

src/z/o/Zope-HEAD/src/Products/TemporaryFolder/mount.py   Zope(Download)
 
from Acquisition import Implicit
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import aq_base
from ZODB.POSException import StorageError
            return self._getOrOpenObject(parent)
        except:
            return ImplicitAcquisitionWrapper(self, parent)
 
    def _test(self, parent):

src/p/r/Products.Archetypes-1.10.1/Products/Archetypes/Renderer.py   Products.Archetypes(Download)
import sys
 
from App.class_init import InitializeClass
from AccessControl import ClassSecurityInfo
from Acquisition import ImplicitAcquisitionWrapper
            field_name = '%s%s' % (kwargs['fieldprefix'], field_name)
 
        widget = ImplicitAcquisitionWrapper(widget, instance)
        field = ImplicitAcquisitionWrapper(field, instance)
        context.setLocal('here', instance)

  1 | 2 | 3 | 4 | 5  Next