Skip to content

Commit

Permalink
fix: variable naming
Browse files Browse the repository at this point in the history
  • Loading branch information
drveles committed Dec 11, 2024
1 parent 9ba977b commit 6b71eec
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 6b71eec

Please sign in to comment.