Dev-iL commented on code in PR #53791:
URL: https://github.com/apache/airflow/pull/53791#discussion_r2240341867
##########
providers/standard/src/airflow/providers/standard/operators/hitl.py:
##########
@@ -29,10 +29,10 @@
from datetime import datetime, timezone
from typing import TYPE_CHECKING, Any
-from airflow.models.baseoperator import BaseOperator
from airflow.providers.standard.exceptions import HITLTimeoutError,
HITLTriggerEventError
from airflow.providers.standard.triggers.hitl import HITLTrigger,
HITLTriggerEventSuccessPayload
from airflow.providers.standard.utils.skipmixin import SkipMixin
+from airflow.sdk.bases.operator import BaseOperator
Review Comment:
It is for 3.1 only, see a few lines above:
```python
if not AIRFLOW_V_3_1_PLUS:
raise AirflowOptionalProviderFeatureException("Human in the loop
functionality needs Airflow 3.1+.")
```
This was changed to the below anyway
```python
from airflow.providers.standard.version_compat import BaseOperator
```
--
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]