Did I find the right examples for you? yes no

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

src/b/i/Bika-LIMS-HEAD/bika/lims/content/instrument.py   Bika-LIMS(Download)
        if not targetuid:
            return
        if targetuid != self.UID():
            raise Exception("Invalid instrument")
        ans = self.getRawAnalyses() if self.getRawAnalyses() else []
        if not targetuid:
            return
        if targetuid != self.UID():
            raise Exception("Invalid instrument")
        uid = analysis.UID()
                   review_state='to_be_verified')
        ans = [p.getObject() for p in prox]
        return [a for a in ans if a.getRawInstrument() == self.UID()]
 
 

src/b/i/bika.lims-3.01a/bika/lims/content/batch.py   bika.lims(Download)
    def getAnalysisRequests(self):
        """ Return all the Analysis Requests linked to the Batch
        """
        bc = getToolByName(self, 'bika_catalog')
        uid = self.UID()