amoghrajesh commented on code in PR #51873:
URL: https://github.com/apache/airflow/pull/51873#discussion_r2176865021
##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/chime.py:
##########
@@ -69,7 +69,7 @@ def _get_webhook_endpoint(self, conn_id: str) -> str:
token = conn.password
if token is None:
raise AirflowException("Webhook token field is missing and is
required.")
- url = conn.schema + "://" + conn.host
+ url = cast("str", conn.schema) + "://" + cast("str", conn.host)
Review Comment:
Makes sense, added null check
--
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]