Did I find the right examples for you? yes no

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

src/b/o/bomfu-HEAD/web/bom_example.py   bomfu(Download)
 
        try:
            bom = Bom.new('')
            bom.name = "lasersaur-" + str(bom.public_id)
            bom.put(self.user_id, makeowner=True)

src/b/o/bomfu-HEAD/admin/boms.py   bomfu(Download)
        bom_parsed = parse(bom_file)
 
        bom = Bom.new('')
        bom.name = "test-" + str(bom.public_id)
        bom._put()  # put without setting user

src/b/o/bomfu-HEAD/web/bom_edit.py   bomfu(Download)
    def get(self):
        bom = Bom.new('newbom')
        bom.name = 'bom-' + bom.public_id
        bom.put(self.user_id, makeowner=True)
        time.sleep(0.6)  # give db some time to write
            self.response.headers.add_header('content-type', 'application/json', 
                                             charset='utf-8')
            bom = Bom.new('newbom')
            bom.name = 'bom-imported-' + bom.public_id
            bom.put(self.user_id, makeowner=True)