Skip to content

Commit ebe53b4

Browse files
committed
fix(examples): use distinct loop variable run_step to satisfy mypy
1 parent e7c385d commit ebe53b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/automations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
run_id = runs["data"][0]["id"]
8080
run: resend.AutomationRun = resend.Automations.Runs.get(automation_id, run_id)
8181
print(f"Run status: {run['status']}, steps: {len(run['steps'])}")
82-
for step in run["steps"]:
83-
print(f" Step key={step['key']} type={step['type']} status={step['status']}")
82+
for run_step in run["steps"]:
83+
print(f" Step key={run_step['key']} type={run_step['type']} status={run_step['status']}")
8484

8585
# --- Multi-step automation: delay + wait_for_event ---
8686
print("\n--- Create multi-step automation (delay + wait_for_event) ---")

0 commit comments

Comments
 (0)