remibonnet-datafolio opened a new issue, #51315:
URL: https://github.com/apache/airflow/issues/51315

   ### What do you see as an issue?
   
   In: https://airflow.apache.org/docs/apache-airflow/stable/templates-ref.html
   
   
![Image](https://github.com/user-attachments/assets/5e321b6e-8645-4ffc-889f-9fb287af6b0e)
   
   The name of task_instance_key_str and the documentation seem to imply that 
this template variable can be used to refer uniquely to a task instance. This 
is not the case. On dags with an intra day schedule, all task instance will 
have the same key, as the hour component of the logical date is not used.
   
   
![Image](https://github.com/user-attachments/assets/0aa32ead-fccd-439e-bc0c-b2768e57c8aa)
   
   
   
   
   ### Solving the problem
   
   Listed as a doc issue, as "fixing" the variable would be a severe breaking 
change, and deprecating it / issuing a clear warning about it would seem more 
reasonable.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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