amoghrajesh commented on code in PR #66160:
URL: https://github.com/apache/airflow/pull/66160#discussion_r3186745713


##########
scripts/ci/prek/check_template_context_variable_in_sync.py:
##########
@@ -48,6 +48,9 @@
     "data_interval_start",
     "prev_data_interval_start_success",
     "prev_data_interval_end_success",
+    # AIP-103: task_state/asset_state aren't documented yet. Will be done in a 
later PR.
+    "task_state",
+    "asset_state",

Review Comment:
   So we added in a syntactic sugar for single inlet accessor pattern and that 
form `context["asset_state"].get("watermark")` reads more naturally for the 
single-inlet case. `asset_states.get("watermark")` feels like getting from a 
collection. So I am a little unsure what to do about it, would prefer to keep 
it this way



-- 
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