henry3260 commented on code in PR #61103:
URL: https://github.com/apache/airflow/pull/61103#discussion_r2730308223
##########
providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/msgraph.py:
##########
@@ -160,13 +160,26 @@ def __init__(
self.conn_id = conn_id
self.timeout = timeout
self.proxies = proxies
- self.host = host
+ self.host = self._ensure_protocol(host) if host else None
Review Comment:
Since _ensure_protocol already checks for if not url, can we remove the if
host else None check here to keep it DRY?
--
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]