@@ -289,7 +289,7 @@ AIR302_common_sql.py:114:1: AIR302 `airflow.sensors.sql_sensor.SqlSensor` is mov
289
289
|
290
290
= help : Install ` apache-airflow-providers-common-sql>=1.0.0` and use ` airflow.providers.common.sql.sensors.sql.SqlSensor` instead .
291
291
292
- AIR302_common_sql .py :124 :1 : AIR302 ` airflow.operators.jdbc_operator.JdbcOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
292
+ AIR302_common_sql .py :124 :1 : AIR302 [ * ] ` airflow.operators.jdbc_operator.JdbcOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
293
293
|
294
294
122 | from airflow .operators .sqlite_operator import SqliteOperator
295
295
123 |
@@ -300,7 +300,19 @@ AIR302_common_sql.py:124:1: AIR302 `airflow.operators.jdbc_operator.JdbcOperator
300
300
|
301
301
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
302
302
303
- AIR302_common_sql .py :125 :1 : AIR302 ` airflow.operators.mssql_operator.MsSqlOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
303
+ ℹ Safe fix
304
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
305
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
306
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
307
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
308
+ 123 124 |
309
+ 124 | - JdbcOperator ()
310
+ 125 | + SQLExecuteQueryOperator ()
311
+ 125 126 | MsSqlOperator ()
312
+ 126 127 | MySqlOperator ()
313
+ 127 128 | OracleOperator ()
314
+
315
+ AIR302_common_sql .py :125 :1 : AIR302 [* ] ` airflow.operators.mssql_operator.MsSqlOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
304
316
|
305
317
124 | JdbcOperator ()
306
318
125 | MsSqlOperator ()
@@ -310,7 +322,20 @@ AIR302_common_sql.py:125:1: AIR302 `airflow.operators.mssql_operator.MsSqlOperat
310
322
|
311
323
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
312
324
313
- AIR302_common_sql .py :126 :1 : AIR302 ` airflow.operators.mysql_operator.MySqlOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
325
+ ℹ Safe fix
326
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
327
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
328
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
329
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
330
+ 123 124 |
331
+ 124 125 | JdbcOperator ()
332
+ 125 | - MsSqlOperator ()
333
+ 126 | + SQLExecuteQueryOperator ()
334
+ 126 127 | MySqlOperator ()
335
+ 127 128 | OracleOperator ()
336
+ 128 129 | PostgresOperator ()
337
+
338
+ AIR302_common_sql .py :126 :1 : AIR302 [* ] ` airflow.operators.mysql_operator.MySqlOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
314
339
|
315
340
124 | JdbcOperator ()
316
341
125 | MsSqlOperator ()
@@ -321,7 +346,21 @@ AIR302_common_sql.py:126:1: AIR302 `airflow.operators.mysql_operator.MySqlOperat
321
346
|
322
347
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
323
348
324
- AIR302_common_sql .py :127 :1 : AIR302 ` airflow.operators.oracle_operator.OracleOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
349
+ ℹ Safe fix
350
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
351
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
352
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
353
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
354
+ 123 124 |
355
+ 124 125 | JdbcOperator ()
356
+ 125 126 | MsSqlOperator ()
357
+ 126 | - MySqlOperator ()
358
+ 127 | + SQLExecuteQueryOperator ()
359
+ 127 128 | OracleOperator ()
360
+ 128 129 | PostgresOperator ()
361
+ 129 130 | SqliteOperator ()
362
+
363
+ AIR302_common_sql .py :127 :1 : AIR302 [* ] ` airflow.operators.oracle_operator.OracleOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
325
364
|
326
365
125 | MsSqlOperator ()
327
366
126 | MySqlOperator ()
@@ -332,7 +371,21 @@ AIR302_common_sql.py:127:1: AIR302 `airflow.operators.oracle_operator.OracleOper
332
371
|
333
372
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
334
373
335
- AIR302_common_sql .py :128 :1 : AIR302 ` airflow.operators.postgres_operator.PostgresOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
374
+ ℹ Safe fix
375
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
376
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
377
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
378
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
379
+ 123 124 |
380
+ 124 125 | JdbcOperator ()
381
+ 125 126 | MsSqlOperator ()
382
+ 126 127 | MySqlOperator ()
383
+ 127 | - OracleOperator ()
384
+ 128 | + SQLExecuteQueryOperator ()
385
+ 128 129 | PostgresOperator ()
386
+ 129 130 | SqliteOperator ()
387
+
388
+ AIR302_common_sql .py :128 :1 : AIR302 [* ] ` airflow.operators.postgres_operator.PostgresOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
336
389
|
337
390
126 | MySqlOperator ()
338
391
127 | OracleOperator ()
@@ -342,11 +395,39 @@ AIR302_common_sql.py:128:1: AIR302 `airflow.operators.postgres_operator.Postgres
342
395
|
343
396
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
344
397
345
- AIR302_common_sql .py :129 :1 : AIR302 ` airflow.operators.sqlite_operator.SqliteOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
398
+ ℹ Safe fix
399
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
400
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
401
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
402
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
403
+ 123 124 |
404
+ 124 125 | JdbcOperator ()
405
+ 125 126 | MsSqlOperator ()
406
+ 126 127 | MySqlOperator ()
407
+ 127 128 | OracleOperator ()
408
+ 128 | - PostgresOperator ()
409
+ 129 | + SQLExecuteQueryOperator ()
410
+ 129 130 | SqliteOperator ()
411
+
412
+ AIR302_common_sql .py :129 :1 : AIR302 [* ] ` airflow.operators.sqlite_operator.SqliteOperator` is moved into ` common-sql` provider in Airflow 3.0 ;
346
413
|
347
414
127 | OracleOperator ()
348
415
128 | PostgresOperator ()
349
416
129 | SqliteOperator ()
350
417
| ^^^^^^^^^^^^^^ AIR302
351
418
|
352
419
= help : Install ` apache-airflow-providers-common-sql>=1.3.0` and use ` airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator` instead .
420
+
421
+ ℹ Safe fix
422
+ 120 120 | from airflow .operators .oracle_operator import OracleOperator
423
+ 121 121 | from airflow .operators .postgres_operator import PostgresOperator
424
+ 122 122 | from airflow .operators .sqlite_operator import SqliteOperator
425
+ 123 | + from airflow .providers .common .sql .operators .sql import SQLExecuteQueryOperator
426
+ 123 124 |
427
+ 124 125 | JdbcOperator ()
428
+ 125 126 | MsSqlOperator ()
429
+ 126 127 | MySqlOperator ()
430
+ 127 128 | OracleOperator ()
431
+ 128 129 | PostgresOperator ()
432
+ 129 | - SqliteOperator ()
433
+ 130 | + SQLExecuteQueryOperator ()
0 commit comments