jscheffl commented on PR #41808:
URL: https://github.com/apache/airflow/pull/41808#issuecomment-2490125408

   > @jscheffl
   > 
   > It's not that I disagree with the PR, but I am surprised by the comment in 
the newsfragment, regarding the use of sqlalchemy. Since we are not disallowing 
direct access to the DB, wouldn't that be problematic?
   
   @vikramkoka The cleanup of the deprecation was not driven by a function or 
demand to urgently remove it. It was in a batch of "make the house clean" 
rounds in search & remove all deprecations. The both mentioned functions were 
not used in any area in the code anyway, they just have kept for a long time as 
legacy interface - with the reason of semantic release and non-breaking.
   
   I did not check the reason behind it and if there is any benefit in keeping 
them. Somebody in the past long time ago marked them deprecated and this was 
just a cleaning exercise. And yes, they were not used internally a long time 
ago and therefore there was no replacements. Did not make a forensic analysis 
and I assume everybody using that from the past might just copy the traces and 
re-implement rather having a public API on these helpers. Also as no 
forensic... I don't see a problem - but this is not a rationale to keep 
deprecations. I assume they are a leftover trace of a re-factoring which still 
harm future development.


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