amoghrajesh commented on code in PR #54945:
URL: https://github.com/apache/airflow/pull/54945#discussion_r2324676802
##########
providers/openlineage/docs/guides/developer.rst:
##########
@@ -405,7 +405,8 @@ Writing a custom facet function
.. code-block:: python
import attrs
- from airflow.models.taskinstance import TaskInstance, TaskInstanceState
+ from airflow.models.taskinstance import TaskInstance
+ from airflow.sdk import TaskInstanceState
Review Comment:
We cannot do this until we bump the min version of OL provider to be Airflow
3. Remove this occurrence for now.
##########
providers/openlineage/docs/guides/developer.rst:
##########
@@ -405,7 +405,8 @@ Writing a custom facet function
.. code-block:: python
import attrs
- from airflow.models.taskinstance import TaskInstance, TaskInstanceState
+ from airflow.models.taskinstance import TaskInstance
+ from airflow.sdk import TaskInstanceState
Review Comment:
We cannot do this until we bump the min version of OL provider to be Airflow
3. Remove this occurrence for now.
--
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]