Skip to content

Commit

Permalink
fix: variable naming (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
drveles authored Feb 5, 2025
1 parent 2f3f2ac commit 1e4d4e6
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 1e4d4e6

Please sign in to comment.