You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by el...@apache.org on 2022/12/05 22:32:16 UTC
[airflow] branch main updated: Update RdsHook docstrings to match correct argument names (#28108)
This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7398853c86 Update RdsHook docstrings to match correct argument names (#28108)
7398853c86 is described below
commit 7398853c86f4972b0b7139a905e52d6ecc62fdec
Author: Hank Ehly <he...@gmail.com>
AuthorDate: Tue Dec 6 07:32:04 2022 +0900
Update RdsHook docstrings to match correct argument names (#28108)
---
airflow/providers/amazon/aws/hooks/rds.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/amazon/aws/hooks/rds.py b/airflow/providers/amazon/aws/hooks/rds.py
index 15790e3add..f40f9fdf8d 100644
--- a/airflow/providers/amazon/aws/hooks/rds.py
+++ b/airflow/providers/amazon/aws/hooks/rds.py
@@ -229,7 +229,7 @@ class RdsHook(AwsGenericHook["RDSClient"]):
"""
Get the current state of a DB instance.
- :param snapshot_id: The ID of the target DB instance.
+ :param db_instance_id: The ID of the target DB instance.
:return: Returns the status of the DB instance as a string (eg. "available")
:rtype: str
:raises AirflowNotFoundException: If the DB instance does not exist.
@@ -278,7 +278,7 @@ class RdsHook(AwsGenericHook["RDSClient"]):
"""
Get the current state of a DB cluster.
- :param snapshot_id: The ID of the target DB cluster.
+ :param db_cluster_id: The ID of the target DB cluster.
:return: Returns the status of the DB cluster as a string (eg. "available")
:rtype: str
:raises AirflowNotFoundException: If the DB cluster does not exist.