This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new df4df2a8f9 Use url_from_endpoint inside HttpHook. (#42785)
df4df2a8f9 is described below
commit df4df2a8f92869c4c47863935da6def37ba7373e
Author: Josef Šimánek <[email protected]>
AuthorDate: Fri Oct 11 00:21:50 2024 +0200
Use url_from_endpoint inside HttpHook. (#42785)
---
providers/src/airflow/providers/http/hooks/http.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/src/airflow/providers/http/hooks/http.py
b/providers/src/airflow/providers/http/hooks/http.py
index a53dd7566c..05b432626b 100644
--- a/providers/src/airflow/providers/http/hooks/http.py
+++ b/providers/src/airflow/providers/http/hooks/http.py
@@ -169,7 +169,7 @@ class HttpHook(BaseHook):
session = self.get_conn(headers)
- url = _url_from_endpoint(self.base_url, endpoint)
+ url = self.url_from_endpoint(endpoint)
if self.tcp_keep_alive:
keep_alive_adapter = TCPKeepAliveAdapter(