---
source: crates/ruff_linter/src/rules/airflow/mod.rs
---
AIR302_oracle.py:5:1: AIR302 [*] `airflow.hooks.oracle_hook.OracleHook` is moved into `oracle` provider in Airflow 3.0;
  |
3 | from airflow.hooks.oracle_hook import OracleHook
4 |
5 | OracleHook()
  | ^^^^^^^^^^ AIR302
  |
  = help: Install `apache-airflow-providers-oracle>=1.0.0` and use `OracleHook` from `airflow.providers.oracle.hooks.oracle` instead.

ℹ Unsafe fix
1 1 | from __future__ import annotations
2 2 | 
3   |-from airflow.hooks.oracle_hook import OracleHook
  3 |+from airflow.providers.oracle.hooks.oracle import OracleHook
4 4 | 
5 5 | OracleHook()
