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 11b99dc601 Fix wrong casing in airbyte hook. (#42170)
11b99dc601 is described below
commit 11b99dc601af294cfa2a705678173abe57b8e54b
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Sep 11 12:04:21 2024 -0700
Fix wrong casing in airbyte hook. (#42170)
Fixes: #42154
---
airflow/providers/airbyte/hooks/airbyte.py | 2 +-
airflow/providers/airbyte/provider.yaml | 2 +-
generated/provider_dependencies.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow/providers/airbyte/hooks/airbyte.py
b/airflow/providers/airbyte/hooks/airbyte.py
index d530f3e668..f2a63080b6 100644
--- a/airflow/providers/airbyte/hooks/airbyte.py
+++ b/airflow/providers/airbyte/hooks/airbyte.py
@@ -71,7 +71,7 @@ class AirbyteHook(BaseHook):
credentials = SchemeClientCredentials(
client_id=self.conn["client_id"],
client_secret=self.conn["client_secret"],
- TOKEN_URL=self.conn["token_url"],
+ token_url=self.conn["token_url"],
)
return AirbyteAPI(
diff --git a/airflow/providers/airbyte/provider.yaml
b/airflow/providers/airbyte/provider.yaml
index e421b1c660..7db89834ec 100644
--- a/airflow/providers/airbyte/provider.yaml
+++ b/airflow/providers/airbyte/provider.yaml
@@ -51,7 +51,7 @@ versions:
dependencies:
- apache-airflow>=2.8.0
- - airbyte-api==0.51.0 # v0.52.0 breaks hooks, see
https://github.com/apache/airflow/issues/42154
+ - airbyte-api>=0.52.0
integrations:
- integration-name: Airbyte
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 1c0ad3f1ca..a520c4c07e 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -1,7 +1,7 @@
{
"airbyte": {
"deps": [
- "airbyte-api==0.51.0",
+ "airbyte-api>=0.52.0",
"apache-airflow>=2.8.0"
],
"devel-deps": [],