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

All Samples(26)  |  Call(7)  |  Derive(0)  |  Import(19)
aq_self(ob) -- Get the object with the outermost wrapper removed

src/p/r/Products.GenericSetup-1.7.4/Products/GenericSetup/context.py   Products.GenericSetup(Download)
from Acquisition import aq_inner
from Acquisition import aq_parent
from Acquisition import aq_self
from Acquisition import Implicit
from App.class_init import InitializeClass
    def getSite( self ):
 
        """ See ISetupContext.
        """
        return aq_self(self._site)

src/e/r/erp5-HEAD/product/ERP5Form/ListBox.py   erp5(Download)
from Products.ERP5Type.Message import Message
 
from Acquisition import aq_base, aq_self, aq_inner
import Acquisition
from zLOG import LOG, WARNING
        # If a tales expression is not defined, get a skin, an accessor or a property.
        if not tales:
          if getattr(aq_self(brain), alias, None) is not None:
            original_value = getattr(brain, alias)
            processed_value = original_value

src/p/r/Products.ATPhoto-1.0/Products/ATPhoto/ATPhoto.py   Products.ATPhoto(Download)
from Acquisition import aq_inner
from Acquisition import aq_parent
from Acquisition import aq_self
from Products.ATPhoto.interfaces import IScalable, IPossibleScalable
 
    def tag(self,**kwargs):
        """
        return the tag of symbolic_photo
        """
        scalable = aq_self(self)

src/e/r/erp5-HEAD/product/ERP5Type/Utils.py   erp5(Download)
from Acquisition import aq_inner
from Acquisition import aq_parent
from Acquisition import aq_self
 
from AccessControl import ModuleSecurityInfo
    if not isinstance(value, BaseClass):
      # Delete local attribute if it exists
      if getattr(aq_self(o), attribute_name, None) is not None:
        delattr(o, attribute_name)
      # But do not delete object

src/c/o/collective.geo.behaviour-1.1/src/collective/geo/behaviour/behaviour.py   collective.geo.behaviour(Download)
 
from Acquisition import ImplicitAcquisitionWrapper
from Acquisition import aq_self
 
from zope.interface import implements
    def __init__(self, context):
        # dewrap context when a Dexterity object is added
        if isinstance(context, ImplicitAcquisitionWrapper):
            context = aq_self(context)
        self.context = context

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/browser/content/metadata.py   Products.CMFDefault(Download)
"""
 
from Acquisition import aq_self
from zope.component import adapts
from zope.component import getUtility
    def _getAllowDiscussion(self):
        context = aq_self(self.context)
        return getattr(context, 'allow_discussion', None)
 
    def _setAllowDiscussion(self, value):

src/p/r/Products.ATPhoto-1.0/Products/ATPhoto/ATPhotoAlbum.py   Products.ATPhoto(Download)
from Products.ATPhoto.config import *
##code-section module-header #fill in your manual code here
from Acquisition import aq_self
from Products.ATPhoto.interfaces import IScalable, IPossibleScalable
from Products.CMFCore.permissions import View
    def tag(self,**kwargs):
        """
        return the tag of symbolic_photo
        """
        container = aq_self(self)

src/p/r/Products.BastionLedger-4.6.0/Products/BastionLedger/BLLedger.py   Products.BastionLedger(Download)
from AccessControl.Permissions import view_management_screens, access_contents_information
from DateTime import DateTime
from Acquisition import aq_base, aq_inner, aq_self
from OFS.ObjectManager import BeforeDeleteException
from OFS.PropertyManager import PropertyManager

src/p/r/Products.PloneSoftwareCenter-1.6.4/Products/PloneSoftwareCenter/browser/projectdoap.py   Products.PloneSoftwareCenter(Download)
from Products.Five.browser import BrowserView
from Products.CMFCore.utils import getToolByName
from Products.PloneSoftwareCenter.interfaces import ISoftwareCenterContent
from Acquisition import aq_inner, aq_parent, aq_self
from DateTime import DateTime

src/p/r/Products.ATPhoto-1.0/Products/ATPhoto/ATPhotoTransform.py   Products.ATPhoto(Download)
import traceback
import string
from Acquisition import aq_self
 
import logging

  1 | 2  Next