Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hello/hello_activity_choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ class ShoppingList:
@workflow.defn
class PurchaseFruitsWorkflow:
@workflow.run
async def run(self, list: ShoppingList) -> str:
async def run(self, shopping_list: ShoppingList) -> str:
# Order each thing on the list
ordered: List[str] = []
for item in list.items:
for item in shopping_list.items:
if item.fruit is Fruit.APPLE:
order_function = order_apples
elif item.fruit is Fruit.BANANA:
Expand Down