Taragolis commented on code in PR #35712:
URL: https://github.com/apache/airflow/pull/35712#discussion_r1397908444
##########
airflow/providers/apache/livy/hooks/livy.py:
##########
@@ -575,10 +575,11 @@ def _generate_base_url(self, conn: Connection) -> str:
if conn.host and "://" in conn.host:
base_url: str = conn.host
else:
- # schema defaults to HTTP
- schema = conn.schema if conn.schema else "http"
+ scheme = conn.conn_type
Review Comment:
You can not set connection type value in the UI, the only possible way is a
select one from drop down menu.
There is no `https` connection type registered into the core/community
providers.
For example the Apache Livy Connection will use `livy`, HTTP will use
`http`, for Airfbyte will use `airbyte`, dbt Cloud will use `dbt_cloud` and the
same in others hooks which based on HttpHook
--
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]