Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(1)  |  Import(0)

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/content.py   Products.PloneGetPaid(Download)
    def createLineItem(self, payable, quantity):
        nitem = item.PayableShippableLineItem()
        nitem.item_id = getUID(self.content)  # archetypes uid
 
        # we use intids to reference content that we can dereference cleanly

src/g/e/getpaid.core-0.9.2/src/getpaid/core/tests/generator.py   getpaid.core(Download)
class Item( item.PayableShippableLineItem ):
 
    def resolve( self ):
        return ProductGenerator.find( self.uid )