From 6b71eec2678c56c1560d57b0678ab0d9b323b96d Mon Sep 17 00:00:00 2001 From: Vasilii Frolov Date: Wed, 11 Dec 2024 12:45:36 +0300 Subject: [PATCH] fix: variable naming --- hello/hello_activity_choice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hello/hello_activity_choice.py b/hello/hello_activity_choice.py index 2d9d9486..6d15af53 100644 --- a/hello/hello_activity_choice.py +++ b/hello/hello_activity_choice.py @@ -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: