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 018977ec86d Remove stale type-ignore TODO in HTTP hook
run_with_advanced_retry (#67685)
018977ec86d is described below
commit 018977ec86dad07cae92a74c022be5d58365efbb
Author: Seungkyu Kim <[email protected]>
AuthorDate: Mon Jul 27 03:51:30 2026 +0900
Remove stale type-ignore TODO in HTTP hook run_with_advanced_retry (#67685)
The TODO asked to drop a # type: ignore once tenacity issue #428 is
resolved, but the ignore itself was already removed in #53294 (Cleanup
type ignores) while the accompanying comment was left behind. The
comment now points at an ignore that no longer exists, so remove it.
---
providers/http/src/airflow/providers/http/hooks/http.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/providers/http/src/airflow/providers/http/hooks/http.py
b/providers/http/src/airflow/providers/http/hooks/http.py
index 0c5067743f0..3401c589c81 100644
--- a/providers/http/src/airflow/providers/http/hooks/http.py
+++ b/providers/http/src/airflow/providers/http/hooks/http.py
@@ -404,7 +404,6 @@ class HttpHook(BaseHook):
"""
self._retry_obj = tenacity.Retrying(**_retry_args)
- # TODO: remove ignore type when
https://github.com/jd/tenacity/issues/428 is resolved
return self._retry_obj(self.run, *args, **kwargs)
def url_from_endpoint(self, endpoint: str | None) -> str: