potiuk commented on issue #53628:
URL: https://github.com/apache/airflow/issues/53628#issuecomment-3103678135

   > Would like to work on this :)
   
   I am not sure if this is "easy" or whether we want to do much with it.  
There is a number of methods that have been deliberately removed from "context" 
objects because they were never intended to be a "public interface" - they were 
used by people "accidentally" but when we finalized spit of the workers from 
database - direct DB access (that was needed by this method) is gone and our 
general recommendation is to use REST API (which was intended for such usage 
since the beginning of Airlfow 2 - so for about 4 years now).
   
   So I am quite sure we are not going to "fix it" in the sense that this 
method is not coming back.
   
   I think however that we might think to make some kind of easier replacements 
for some "common" methods that people used to use - there are a few methods 
(including get_previous_dag_run) that keeps on repeating and for me this is a 
signal that we might need to do **something** about it - either to have such 
methods in Task SDK directly or making it easier to use REST API from within 
the tasks. 
   
   I will mark it as "affects 3.0" and likely we should discuss it @ashb @kaxil 
@amoghrajesh -> tagging those who worked most on the task-sdk.


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