You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bugraoz93 (via GitHub)" <gi...@apache.org> on 2025/11/03 16:02:23 UTC
Re: [PR] Add a validation layer to the Client [airflow]
bugraoz93 commented on code in PR #57718:
URL: https://github.com/apache/airflow/pull/57718#discussion_r2487014308
##########
airflow-ctl/src/airflowctl/ctl/commands/dag_command.py:
##########
@@ -22,9 +22,10 @@
import rich
-from airflowctl.api.client import NEW_API_CLIENT, ClientKind, ServerResponseError, provide_api_client
+from airflowctl.api.client import NEW_API_CLIENT, ClientKind, provide_api_client
from airflowctl.api.datamodels.generated import DAGPatchBody
from airflowctl.ctl.console_formatting import AirflowConsole
+from airflowctl.api.operations import ServerResponseError
Review Comment:
```suggestion
from airflowctl.api.client import NEW_API_CLIENT, ClientKind, provide_api_client
from airflowctl.api.datamodels.generated import DAGPatchBody
from airflowctl.api.operations import ServerResponseError
from airflowctl.ctl.console_formatting import AirflowConsole
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org