arorasachin9 commented on PR #58870:
URL: https://github.com/apache/airflow/pull/58870#issuecomment-3592778120
Are we not supposed to import the sdk imports in the core folder
The static check is failing
Check for SDK imports in core
files..............................................Failed
- hook id: check-sdk-imports
- exit code: 1
src/airflow/secrets/base_secrets.py:
Line 25: from airflow.sdk import Connection
Line 67: from airflow.sdk import Connection
Found 2 SDK import(s) in core files
If we are not supposed to do so any suggested workaround for this warning or
we have to move this class also in airflow sdk.
If we can update in core only then I'll fix the other failing test cases.
@dstandish @ashb
--
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]