This is an automated email from the ASF dual-hosted git repository.

jhtimmins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3b4fdd0  add oracle  connection link (#15632)
3b4fdd0 is described below

commit 3b4fdd0a7a176bfb2e9a17d4627b1d4ed40f1c86
Author: David Koenitzer <[email protected]>
AuthorDate: Thu May 6 14:39:20 2021 -0400

    add oracle  connection link (#15632)
---
 airflow/providers/google/cloud/transfers/oracle_to_gcs.py              | 3 ++-
 .../providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py   | 2 +-
 airflow/providers/oracle/hooks/oracle.py                               | 3 ++-
 airflow/providers/oracle/operators/oracle.py                           | 3 ++-
 airflow/providers/oracle/transfers/oracle_to_oracle.py                 | 2 +-
 docs/apache-airflow-providers-oracle/connections/oracle.rst            | 2 ++
 6 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/airflow/providers/google/cloud/transfers/oracle_to_gcs.py 
b/airflow/providers/google/cloud/transfers/oracle_to_gcs.py
index 8c8af71..d7bb8c9 100644
--- a/airflow/providers/google/cloud/transfers/oracle_to_gcs.py
+++ b/airflow/providers/google/cloud/transfers/oracle_to_gcs.py
@@ -36,7 +36,8 @@ class OracleToGCSOperator(BaseSQLToGCSOperator):
         For more information on how to use this operator, take a look at the 
guide:
         :ref:`howto/operator:OracleToGCSOperator`
 
-    :param oracle_conn_id: Reference to a specific Oracle hook.
+    :param oracle_conn_id: Reference to a specific
+        :ref:`Oracle hook <howto/connection:oracle>`.
     :type oracle_conn_id: str
     :param ensure_utc: Ensure TIMESTAMP columns exported as UTC. If set to
         `False`, TIMESTAMP columns will be exported using the Oracle server's
diff --git 
a/airflow/providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py 
b/airflow/providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py
index 3ce1e24..42f440e 100644
--- a/airflow/providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py
+++ b/airflow/providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py
@@ -40,7 +40,7 @@ class OracleToAzureDataLakeOperator(BaseOperator):
     :type azure_data_lake_conn_id: str
     :param azure_data_lake_path: destination path in azure data lake to put 
the file.
     :type azure_data_lake_path: str
-    :param oracle_conn_id: source Oracle connection.
+    :param oracle_conn_id: :ref:`Source Oracle connection 
<howto/connection:oracle>`.
     :type oracle_conn_id: str
     :param sql: SQL query to execute against the Oracle database. (templated)
     :type sql: str
diff --git a/airflow/providers/oracle/hooks/oracle.py 
b/airflow/providers/oracle/hooks/oracle.py
index 73004bd..4a7d66c 100644
--- a/airflow/providers/oracle/hooks/oracle.py
+++ b/airflow/providers/oracle/hooks/oracle.py
@@ -29,7 +29,8 @@ class OracleHook(DbApiHook):
     """
     Interact with Oracle SQL.
 
-    :param oracle_conn_id: The Airflow connection used for Oracle credentials.
+    :param oracle_conn_id: The :ref:`Oracle connection id 
<howto/connection:oracle>`
+        used for Oracle credentials.
     :type oracle_conn_id: str
     """
 
diff --git a/airflow/providers/oracle/operators/oracle.py 
b/airflow/providers/oracle/operators/oracle.py
index 2cd3cbc..2d4b14c 100644
--- a/airflow/providers/oracle/operators/oracle.py
+++ b/airflow/providers/oracle/operators/oracle.py
@@ -31,7 +31,8 @@ class OracleOperator(BaseOperator):
         Template reference are recognized by str ending in '.sql'
         (templated)
     :type sql: str or list[str]
-    :param oracle_conn_id: reference to a specific Oracle database
+    :param oracle_conn_id: The :ref:`Oracle connection id 
<howto/connection:oracle>`
+        reference to a specific Oracle database.
     :type oracle_conn_id: str
     :param parameters: (optional) the parameters to render the SQL query with.
     :type parameters: dict or iterable
diff --git a/airflow/providers/oracle/transfers/oracle_to_oracle.py 
b/airflow/providers/oracle/transfers/oracle_to_oracle.py
index be09874..bb3ee92 100644
--- a/airflow/providers/oracle/transfers/oracle_to_oracle.py
+++ b/airflow/providers/oracle/transfers/oracle_to_oracle.py
@@ -31,7 +31,7 @@ class OracleToOracleOperator(BaseOperator):
     :type oracle_destination_conn_id: str
     :param destination_table: destination table to insert rows.
     :type destination_table: str
-    :param oracle_source_conn_id: source Oracle connection.
+    :param oracle_source_conn_id: :ref:`Source Oracle connection 
<howto/connection:oracle>`.
     :type oracle_source_conn_id: str
     :param source_sql: SQL query to execute against the source Oracle
         database. (templated)
diff --git a/docs/apache-airflow-providers-oracle/connections/oracle.rst 
b/docs/apache-airflow-providers-oracle/connections/oracle.rst
index 4057d22..4b0ed81 100644
--- a/docs/apache-airflow-providers-oracle/connections/oracle.rst
+++ b/docs/apache-airflow-providers-oracle/connections/oracle.rst
@@ -17,6 +17,8 @@
 
 
 
+.. _howto/connection:oracle:
+
 Oracle Connection
 =================
 The Oracle connection type provides connection to a Oracle database.

Reply via email to