Subversion Repositories SmartDukaan

Rev

Rev 346 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
451 rajveer 1
#from shop2020.thriftpy.model.v1.catalog.ttypes import Item
2
#from shop2020.clients.InventoryClient import InventoryClient
346 rajveer 3
 
451 rajveer 4
entityid = expEntity.getID()
5
print "Entity id is" + `entityid`
6
#values = [entityid]
7
 
8
#inventory_client = InventoryClient()
9
#item = inventory_client.get_client().getItemByCatalogId(entityid)
10
 
11
#values = item.price.values()
12
#values = values[1]
13
 
14
#values.append(entityid)
15
values = []
16
price = itemPrice
17
print "Price is" + `price`
18
values.append(price)