apache-airflow-providers-http 4.10.1rc1__py3-none-any.whl → 4.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airflow/providers/http/__init__.py +3 -3
- airflow/providers/http/get_provider_info.py +3 -2
- airflow/providers/http/hooks/http.py +4 -0
- {apache_airflow_providers_http-4.10.1rc1.dist-info → apache_airflow_providers_http-4.11.0.dist-info}/METADATA +8 -8
- {apache_airflow_providers_http-4.10.1rc1.dist-info → apache_airflow_providers_http-4.11.0.dist-info}/RECORD +7 -7
- {apache_airflow_providers_http-4.10.1rc1.dist-info → apache_airflow_providers_http-4.11.0.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_http-4.10.1rc1.dist-info → apache_airflow_providers_http-4.11.0.dist-info}/entry_points.txt +0 -0
@@ -27,7 +27,7 @@ import packaging.version
|
|
27
27
|
|
28
28
|
__all__ = ["__version__"]
|
29
29
|
|
30
|
-
__version__ = "4.
|
30
|
+
__version__ = "4.11.0"
|
31
31
|
|
32
32
|
try:
|
33
33
|
from airflow import __version__ as airflow_version
|
@@ -35,8 +35,8 @@ except ImportError:
|
|
35
35
|
from airflow.version import version as airflow_version
|
36
36
|
|
37
37
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
38
|
-
"2.
|
38
|
+
"2.7.0"
|
39
39
|
):
|
40
40
|
raise RuntimeError(
|
41
|
-
f"The package `apache-airflow-providers-http:{__version__}` needs Apache Airflow 2.
|
41
|
+
f"The package `apache-airflow-providers-http:{__version__}` needs Apache Airflow 2.7.0+"
|
42
42
|
)
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
28
28
|
"name": "Hypertext Transfer Protocol (HTTP)",
|
29
29
|
"description": "`Hypertext Transfer Protocol (HTTP) <https://www.w3.org/Protocols/>`__\n",
|
30
30
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
31
|
+
"source-date-epoch": 1714476595,
|
32
32
|
"versions": [
|
33
|
+
"4.11.0",
|
33
34
|
"4.10.1",
|
34
35
|
"4.10.0",
|
35
36
|
"4.9.1",
|
@@ -61,7 +62,7 @@ def get_provider_info():
|
|
61
62
|
"1.0.0",
|
62
63
|
],
|
63
64
|
"dependencies": [
|
64
|
-
"apache-airflow>=2.
|
65
|
+
"apache-airflow>=2.7.0",
|
65
66
|
"requests>=2.27.0,<3",
|
66
67
|
"requests_toolbelt",
|
67
68
|
"aiohttp>=3.9.2",
|
@@ -132,6 +132,7 @@ class HttpHook(BaseHook):
|
|
132
132
|
session.verify = extra.pop("verify", extra.pop("verify_ssl", True))
|
133
133
|
session.cert = extra.pop("cert", None)
|
134
134
|
session.max_redirects = extra.pop("max_redirects", DEFAULT_REDIRECT_LIMIT)
|
135
|
+
session.trust_env = extra.pop("trust_env", True)
|
135
136
|
|
136
137
|
try:
|
137
138
|
session.headers.update(extra)
|
@@ -425,6 +426,7 @@ class HttpAsyncHook(BaseHook):
|
|
425
426
|
verify_ssl = extra.pop("verify", extra.pop("verify_ssl", None))
|
426
427
|
allow_redirects = extra.pop("allow_redirects", None)
|
427
428
|
max_redirects = extra.pop("max_redirects", None)
|
429
|
+
trust_env = extra.pop("trust_env", None)
|
428
430
|
|
429
431
|
if proxies is not None and "proxy" not in extra_options:
|
430
432
|
extra_options["proxy"] = proxies
|
@@ -436,6 +438,8 @@ class HttpAsyncHook(BaseHook):
|
|
436
438
|
extra_options["allow_redirects"] = allow_redirects
|
437
439
|
if max_redirects is not None and "max_redirects" not in extra_options:
|
438
440
|
extra_options["max_redirects"] = max_redirects
|
441
|
+
if trust_env is not None and "trust_env" not in extra_options:
|
442
|
+
extra_options["trust_env"] = trust_env
|
439
443
|
return extra
|
440
444
|
|
441
445
|
def _retryable_error_async(self, exception: ClientResponseError) -> bool:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: apache-airflow-providers-http
|
3
|
-
Version: 4.
|
3
|
+
Version: 4.11.0
|
4
4
|
Summary: Provider package apache-airflow-providers-http for Apache Airflow
|
5
5
|
Keywords: airflow-provider,http,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -22,13 +22,13 @@ Classifier: Programming Language :: Python :: 3.11
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
23
23
|
Classifier: Topic :: System :: Monitoring
|
24
24
|
Requires-Dist: aiohttp>=3.9.2
|
25
|
-
Requires-Dist: apache-airflow>=2.
|
25
|
+
Requires-Dist: apache-airflow>=2.7.0
|
26
26
|
Requires-Dist: asgiref
|
27
27
|
Requires-Dist: requests>=2.27.0,<3
|
28
28
|
Requires-Dist: requests_toolbelt
|
29
29
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-http/4.
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-http/4.
|
30
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html
|
31
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0
|
32
32
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
33
33
|
Project-URL: Source Code, https://github.com/apache/airflow
|
34
34
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
@@ -78,7 +78,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
78
78
|
|
79
79
|
Package ``apache-airflow-providers-http``
|
80
80
|
|
81
|
-
Release: ``4.
|
81
|
+
Release: ``4.11.0``
|
82
82
|
|
83
83
|
|
84
84
|
`Hypertext Transfer Protocol (HTTP) <https://www.w3.org/Protocols/>`__
|
@@ -91,7 +91,7 @@ This is a provider package for ``http`` provider. All classes for this provider
|
|
91
91
|
are in ``airflow.providers.http`` python package.
|
92
92
|
|
93
93
|
You can find package information and changelog for the provider
|
94
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.
|
94
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/>`_.
|
95
95
|
|
96
96
|
Installation
|
97
97
|
------------
|
@@ -108,7 +108,7 @@ Requirements
|
|
108
108
|
===================== ==================
|
109
109
|
PIP package Version required
|
110
110
|
===================== ==================
|
111
|
-
``apache-airflow`` ``>=2.
|
111
|
+
``apache-airflow`` ``>=2.7.0``
|
112
112
|
``requests`` ``>=2.27.0,<3``
|
113
113
|
``requests_toolbelt``
|
114
114
|
``aiohttp`` ``>=3.9.2``
|
@@ -116,4 +116,4 @@ PIP package Version required
|
|
116
116
|
===================== ==================
|
117
117
|
|
118
118
|
The changelog for the provider package can be found in the
|
119
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.
|
119
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html>`_.
|
@@ -1,15 +1,15 @@
|
|
1
1
|
airflow/providers/http/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
2
|
-
airflow/providers/http/__init__.py,sha256=
|
3
|
-
airflow/providers/http/get_provider_info.py,sha256=
|
2
|
+
airflow/providers/http/__init__.py,sha256=w5dAKIq5q5Dv5bgq1T1K3b61Aq8vBFrm217xR3-ITPM,1580
|
3
|
+
airflow/providers/http/get_provider_info.py,sha256=ObwHiYYsDwyR4CD_PQdao-y4OnEPdUBw6cZmSzJwfHk,3611
|
4
4
|
airflow/providers/http/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
-
airflow/providers/http/hooks/http.py,sha256=
|
5
|
+
airflow/providers/http/hooks/http.py,sha256=rt6gH-1RiQEobnuxAECboemhEntXOIjIWaBn-SCoW7Y,18777
|
6
6
|
airflow/providers/http/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
7
|
airflow/providers/http/operators/http.py,sha256=cAXy5UFoZ2MANFzBjpecer4NbSu2BtmvNwNU92Zgb34,17549
|
8
8
|
airflow/providers/http/sensors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
9
9
|
airflow/providers/http/sensors/http.py,sha256=LLrwCko1bqPfiRsWGvG7IVloA-YqV3DgkqqxvOP-Ac4,8109
|
10
10
|
airflow/providers/http/triggers/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
11
11
|
airflow/providers/http/triggers/http.py,sha256=Wp29_-4sUDLqoMX9FREqU64yiDAJEJaXxtmLLgk4hXM,7631
|
12
|
-
apache_airflow_providers_http-4.
|
13
|
-
apache_airflow_providers_http-4.
|
14
|
-
apache_airflow_providers_http-4.
|
15
|
-
apache_airflow_providers_http-4.
|
12
|
+
apache_airflow_providers_http-4.11.0.dist-info/entry_points.txt,sha256=65Rk4MYlxxtwo7y7-uNv4KS7MfoBnILhMjRQmNbRo1Q,100
|
13
|
+
apache_airflow_providers_http-4.11.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
14
|
+
apache_airflow_providers_http-4.11.0.dist-info/METADATA,sha256=Ph3-_v5NDRMs2_1MaG110QoomLjzaasMKnRATMpqFmU,4932
|
15
|
+
apache_airflow_providers_http-4.11.0.dist-info/RECORD,,
|
File without changes
|