apache-airflow-providers-mysql 5.7.2rc1__tar.gz → 5.7.3rc1__tar.gz
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.
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/PKG-INFO +6 -6
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/README.rst +3 -3
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/__init__.py +1 -1
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/get_provider_info.py +2 -1
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/hooks/mysql.py +11 -6
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/pyproject.toml +3 -3
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/LICENSE +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/assets/__init__.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/assets/mysql.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/hooks/__init__.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/operators/__init__.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/operators/mysql.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/transfers/__init__.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/transfers/presto_to_mysql.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/transfers/s3_to_mysql.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/transfers/trino_to_mysql.py +0 -0
- {apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/airflow/providers/mysql/transfers/vertica_to_mysql.py +0 -0
{apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: apache-airflow-providers-mysql
|
3
|
-
Version: 5.7.
|
3
|
+
Version: 5.7.3rc1
|
4
4
|
Summary: Provider package apache-airflow-providers-mysql for Apache Airflow
|
5
5
|
Keywords: airflow-provider,mysql,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -31,8 +31,8 @@ Requires-Dist: apache-airflow-providers-presto ; extra == "presto"
|
|
31
31
|
Requires-Dist: apache-airflow-providers-trino ; extra == "trino"
|
32
32
|
Requires-Dist: apache-airflow-providers-vertica ; extra == "vertica"
|
33
33
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
34
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
35
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
34
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/changelog.html
|
35
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3
|
36
36
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
37
37
|
Project-URL: Source Code, https://github.com/apache/airflow
|
38
38
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
@@ -89,7 +89,7 @@ Provides-Extra: vertica
|
|
89
89
|
|
90
90
|
Package ``apache-airflow-providers-mysql``
|
91
91
|
|
92
|
-
Release: ``5.7.
|
92
|
+
Release: ``5.7.3.rc1``
|
93
93
|
|
94
94
|
|
95
95
|
`MySQL <https://www.mysql.com/>`__
|
@@ -102,7 +102,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
|
|
102
102
|
are in ``airflow.providers.mysql`` python package.
|
103
103
|
|
104
104
|
You can find package information and changelog for the provider
|
105
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
105
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/>`_.
|
106
106
|
|
107
107
|
Installation
|
108
108
|
------------
|
@@ -150,4 +150,4 @@ Dependent package
|
|
150
150
|
============================================================================================================== ===============
|
151
151
|
|
152
152
|
The changelog for the provider package can be found in the
|
153
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
153
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/changelog.html>`_.
|
{apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/README.rst
RENAMED
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
Package ``apache-airflow-providers-mysql``
|
44
44
|
|
45
|
-
Release: ``5.7.
|
45
|
+
Release: ``5.7.3.rc1``
|
46
46
|
|
47
47
|
|
48
48
|
`MySQL <https://www.mysql.com/>`__
|
@@ -55,7 +55,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
|
|
55
55
|
are in ``airflow.providers.mysql`` python package.
|
56
56
|
|
57
57
|
You can find package information and changelog for the provider
|
58
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
58
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/>`_.
|
59
59
|
|
60
60
|
Installation
|
61
61
|
------------
|
@@ -103,4 +103,4 @@ Dependent package
|
|
103
103
|
============================================================================================================== ===============
|
104
104
|
|
105
105
|
The changelog for the provider package can be found in the
|
106
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
106
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/changelog.html>`_.
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
29
29
|
|
30
30
|
__all__ = ["__version__"]
|
31
31
|
|
32
|
-
__version__ = "5.7.
|
32
|
+
__version__ = "5.7.3"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
35
|
"2.8.0"
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
28
28
|
"name": "MySQL",
|
29
29
|
"description": "`MySQL <https://www.mysql.com/>`__\n",
|
30
30
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
31
|
+
"source-date-epoch": 1730013207,
|
32
32
|
"versions": [
|
33
|
+
"5.7.3",
|
33
34
|
"5.7.2",
|
34
35
|
"5.7.1",
|
35
36
|
"5.7.0",
|
@@ -127,12 +127,17 @@ class MySqlHook(DbApiHook):
|
|
127
127
|
if conn.extra_dejson.get("cursor", False):
|
128
128
|
import MySQLdb.cursors
|
129
129
|
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
130
|
+
cursor_type = conn.extra_dejson.get("cursor", "").lower()
|
131
|
+
# Dictionary mapping cursor types to their respective classes
|
132
|
+
cursor_classes = {
|
133
|
+
"sscursor": MySQLdb.cursors.SSCursor,
|
134
|
+
"dictcursor": MySQLdb.cursors.DictCursor,
|
135
|
+
"ssdictcursor": MySQLdb.cursors.SSDictCursor,
|
136
|
+
}
|
137
|
+
# Set the cursor class in the connection configuration based on the cursor type
|
138
|
+
if cursor_type in cursor_classes:
|
139
|
+
conn_config["cursorclass"] = cursor_classes[cursor_type]
|
140
|
+
|
136
141
|
if conn.extra_dejson.get("ssl", False):
|
137
142
|
# SSL parameter for MySQL has to be a dictionary and in case
|
138
143
|
# of extra/dejson we can get string if extra is passed via
|
{apache_airflow_providers_mysql-5.7.2rc1 → apache_airflow_providers_mysql-5.7.3rc1}/pyproject.toml
RENAMED
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
|
|
28
28
|
|
29
29
|
[project]
|
30
30
|
name = "apache-airflow-providers-mysql"
|
31
|
-
version = "5.7.
|
31
|
+
version = "5.7.3.rc1"
|
32
32
|
description = "Provider package apache-airflow-providers-mysql for Apache Airflow"
|
33
33
|
readme = "README.rst"
|
34
34
|
authors = [
|
@@ -62,8 +62,8 @@ dependencies = [
|
|
62
62
|
]
|
63
63
|
|
64
64
|
[project.urls]
|
65
|
-
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
66
|
-
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.
|
65
|
+
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3"
|
66
|
+
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.7.3/changelog.html"
|
67
67
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
68
68
|
"Source Code" = "https://github.com/apache/airflow"
|
69
69
|
"Slack Chat" = "https://s.apache.org/airflow-slack"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|