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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/l/plonehrm.absence-1.5/plonehrm/absence/content/absence.py   plonehrm.absence(Download)
        """
        for parent in aq_chain(self):
            if IEmployee.providedBy(parent):
                return parent
 

src/p/l/plonehrm.contracts-2.6/plonehrm/contracts/content/contract.py   plonehrm.contracts(Download)
        """
        for parent in aq_chain(aq_inner(self)):
            if IEmployee.providedBy(parent):
                return parent
 

src/p/r/Products.plonehrm-2.14/Products/plonehrm/browser/substitution.py   Products.plonehrm(Download)
        context = aq_inner(self.context)
        for parent in aq_chain(context):
            if IEmployee.providedBy(parent):
                return parent