mirror of https://github.com/dapr/quickstarts.git
Update app.py
Signed-off-by: nyemade-uversky <55847877+nyemade-uversky@users.noreply.github.com>
This commit is contained in:
parent
c5688f4c78
commit
2234104626
|
@ -41,7 +41,7 @@ class WorkflowConsoleApp:
|
|||
|
||||
print("==========Begin the purchase of item:==========", flush=True)
|
||||
item_name = default_item_name
|
||||
order_quantity = 11
|
||||
order_quantity = 10
|
||||
|
||||
total_cost = int(order_quantity) * baseInventory[item_name].per_item_cost
|
||||
order = OrderPayload(item_name=item_name, quantity=int(order_quantity), total_cost=total_cost)
|
||||
|
@ -112,4 +112,4 @@ class WorkflowConsoleApp:
|
|||
|
||||
if __name__ == '__main__':
|
||||
app = WorkflowConsoleApp()
|
||||
app.main()
|
||||
app.main()
|
||||
|
|
Loading…
Reference in New Issue