uranusjr commented on PR #43142:
URL: https://github.com/apache/airflow/pull/43142#issuecomment-2428782434

   Talked to Constance earlier; we should probably still make `from 
airflow.datasets import Dataset` work (and maybe also `from airflow import 
Dataset`). Without jumping through too many hoops, let’s just create a mostly 
empty `airflow/datasets.py` that emits a deprecation warning on import, and add 
a lazy import entry in `airflow/__init__.py`. Similar to how we handle name 
deprecations in providers.
   
   Same for DatasetAlias; this one is not as important (I doubt many people are 
already using it aside from Cosmos), but we might as well add it since the 
mechanism is the same.
   
   Those names should be removed in Airflow 3.2.


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