Skip to content

Commit

Permalink
Update RdsHook docstrings to match correct argument names (#28108)
Browse files Browse the repository at this point in the history
  • Loading branch information
hankehly authored Dec 5, 2022
1 parent 82af388 commit 7398853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/amazon/aws/hooks/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def get_db_instance_state(self, db_instance_id: str) -> str:
"""
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.
Expand Down Expand Up @@ -278,7 +278,7 @@ def get_db_cluster_state(self, db_cluster_id: str) -> str:
"""
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.
Expand Down

0 comments on commit 7398853

Please sign in to comment.