hankehly commented on code in PR #27410:
URL: https://github.com/apache/airflow/pull/27410#discussion_r1009676750
##########
airflow/providers/amazon/aws/sensors/rds.py:
##########
@@ -184,27 +156,29 @@ def __init__(
self,
*,
db_identifier: str,
- db_type: str = "instance",
+ db_type: RdsDbType | str = RdsDbType.INSTANCE,
Review Comment:
`db_type` is a template field, but we were casting it to `RdsDbType` in the
constructor, which will raise an exception if we pass a template expression.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]