We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f3f2ac commit 1e4d4e6Copy full SHA for 1e4d4e6
hello/hello_activity_choice.py
@@ -54,10 +54,10 @@ class ShoppingList:
54
@workflow.defn
55
class PurchaseFruitsWorkflow:
56
@workflow.run
57
- async def run(self, list: ShoppingList) -> str:
+ async def run(self, shopping_list: ShoppingList) -> str:
58
# Order each thing on the list
59
ordered: List[str] = []
60
- for item in list.items:
+ for item in shopping_list.items:
61
if item.fruit is Fruit.APPLE:
62
order_function = order_apples
63
elif item.fruit is Fruit.BANANA:
0 commit comments