ashb commented on code in PR #74773:
URL: https://github.com/apache/airflow/pull/74773#discussion_r4315467143


##########
airflow-core/src/airflow/models/dynamic_region.py:
##########
@@ -51,6 +51,9 @@
 from airflow.utils.sqlalchemy import CompactUUID, UtcDateTime
 
 SENTINEL_REGION_ID = UUID(int=0)
+# Loop iterations are numbered from one, so an iteration number reads the same 
in a Dag author's
+# ``loop.index``, the API and the UI. Mapped expansion indexes in the same 
column stay zero-based.
+FIRST_LOOP_ITERATION = 1

Review Comment:
   Nit: this probably isn't worth a constant for this



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to