Skip to content

Commit 1e4d4e6

Browse files
authored
fix: variable naming (#155)
1 parent 2f3f2ac commit 1e4d4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hello/hello_activity_choice.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ class ShoppingList:
5454
@workflow.defn
5555
class PurchaseFruitsWorkflow:
5656
@workflow.run
57-
async def run(self, list: ShoppingList) -> str:
57+
async def run(self, shopping_list: ShoppingList) -> str:
5858
# Order each thing on the list
5959
ordered: List[str] = []
60-
for item in list.items:
60+
for item in shopping_list.items:
6161
if item.fruit is Fruit.APPLE:
6262
order_function = order_apples
6363
elif item.fruit is Fruit.BANANA:

0 commit comments

Comments
 (0)