Rev 346 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#from shop2020.thriftpy.model.v1.catalog.ttypes import Item#from shop2020.clients.InventoryClient import InventoryCliententityid = expEntity.getID()print "Entity id is" + `entityid`#values = [entityid]#inventory_client = InventoryClient()#item = inventory_client.get_client().getItemByCatalogId(entityid)#values = item.price.values()#values = values[1]#values.append(entityid)values = []price = itemPriceprint "Price is" + `price`values.append(price)