apache-airflow-providers-sqlite 3.9.1rc1__py3-none-any.whl → 4.0.0rc1__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/sqlite/__init__.py +3 -3
- airflow/providers/sqlite/get_provider_info.py +7 -5
- {apache_airflow_providers_sqlite-3.9.1rc1.dist-info → apache_airflow_providers_sqlite-4.0.0rc1.dist-info}/METADATA +11 -11
- apache_airflow_providers_sqlite-4.0.0rc1.dist-info/RECORD +9 -0
- airflow/providers/sqlite/operators/__init__.py +0 -17
- airflow/providers/sqlite/operators/sqlite.py +0 -58
- apache_airflow_providers_sqlite-3.9.1rc1.dist-info/RECORD +0 -11
- {apache_airflow_providers_sqlite-3.9.1rc1.dist-info → apache_airflow_providers_sqlite-4.0.0rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_sqlite-3.9.1rc1.dist-info → apache_airflow_providers_sqlite-4.0.0rc1.dist-info}/entry_points.txt +0 -0
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
|
|
29
29
|
|
30
30
|
__all__ = ["__version__"]
|
31
31
|
|
32
|
-
__version__ = "
|
32
|
+
__version__ = "4.0.0"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
|
-
"2.
|
35
|
+
"2.9.0"
|
36
36
|
):
|
37
37
|
raise RuntimeError(
|
38
|
-
f"The package `apache-airflow-providers-sqlite:{__version__}` needs Apache Airflow 2.
|
38
|
+
f"The package `apache-airflow-providers-sqlite:{__version__}` needs Apache Airflow 2.9.0+"
|
39
39
|
)
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
28
28
|
"name": "SQLite",
|
29
29
|
"description": "`SQLite <https://www.sqlite.org/>`__\n",
|
30
30
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
31
|
+
"source-date-epoch": 1734536738,
|
32
32
|
"versions": [
|
33
|
+
"4.0.0",
|
33
34
|
"3.9.1",
|
34
35
|
"3.9.0",
|
35
36
|
"3.8.2",
|
@@ -60,7 +61,11 @@ def get_provider_info():
|
|
60
61
|
"1.0.1",
|
61
62
|
"1.0.0",
|
62
63
|
],
|
63
|
-
"dependencies": [
|
64
|
+
"dependencies": [
|
65
|
+
"apache-airflow>=2.9.0",
|
66
|
+
"aiosqlite>=0.20.0",
|
67
|
+
"apache-airflow-providers-common-sql>=1.20.0",
|
68
|
+
],
|
64
69
|
"integrations": [
|
65
70
|
{
|
66
71
|
"integration-name": "SQLite",
|
@@ -70,9 +75,6 @@ def get_provider_info():
|
|
70
75
|
"tags": ["software"],
|
71
76
|
}
|
72
77
|
],
|
73
|
-
"operators": [
|
74
|
-
{"integration-name": "SQLite", "python-modules": ["airflow.providers.sqlite.operators.sqlite"]}
|
75
|
-
],
|
76
78
|
"hooks": [
|
77
79
|
{"integration-name": "SQLite", "python-modules": ["airflow.providers.sqlite.hooks.sqlite"]}
|
78
80
|
],
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: apache-airflow-providers-sqlite
|
3
|
-
Version:
|
3
|
+
Version: 4.0.0rc1
|
4
4
|
Summary: Provider package apache-airflow-providers-sqlite for Apache Airflow
|
5
5
|
Keywords: airflow-provider,sqlite,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -20,17 +20,16 @@ Classifier: Programming Language :: Python :: 3.10
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.11
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
23
|
+
Requires-Dist: aiosqlite>=0.20.0
|
23
24
|
Requires-Dist: apache-airflow-providers-common-sql>=1.20.0rc0
|
24
|
-
Requires-Dist: apache-airflow>=2.
|
25
|
-
Requires-Dist: apache-airflow-providers-common-sql ; extra == "common-sql"
|
25
|
+
Requires-Dist: apache-airflow>=2.9.0rc0
|
26
26
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-sqlite/
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-sqlite/
|
27
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-sqlite/4.0.0/changelog.html
|
28
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-sqlite/4.0.0
|
29
29
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
30
30
|
Project-URL: Source Code, https://github.com/apache/airflow
|
31
|
-
Project-URL: Twitter, https://
|
31
|
+
Project-URL: Twitter, https://x.com/ApacheAirflow
|
32
32
|
Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
33
|
-
Provides-Extra: common-sql
|
34
33
|
|
35
34
|
|
36
35
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
@@ -76,7 +75,7 @@ Provides-Extra: common-sql
|
|
76
75
|
|
77
76
|
Package ``apache-airflow-providers-sqlite``
|
78
77
|
|
79
|
-
Release: ``
|
78
|
+
Release: ``4.0.0.rc1``
|
80
79
|
|
81
80
|
|
82
81
|
`SQLite <https://www.sqlite.org/>`__
|
@@ -89,7 +88,7 @@ This is a provider package for ``sqlite`` provider. All classes for this provide
|
|
89
88
|
are in ``airflow.providers.sqlite`` python package.
|
90
89
|
|
91
90
|
You can find package information and changelog for the provider
|
92
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-sqlite/
|
91
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-sqlite/4.0.0/>`_.
|
93
92
|
|
94
93
|
Installation
|
95
94
|
------------
|
@@ -106,7 +105,8 @@ Requirements
|
|
106
105
|
======================================= ==================
|
107
106
|
PIP package Version required
|
108
107
|
======================================= ==================
|
109
|
-
``apache-airflow`` ``>=2.
|
108
|
+
``apache-airflow`` ``>=2.9.0``
|
109
|
+
``aiosqlite`` ``>=0.20.0``
|
110
110
|
``apache-airflow-providers-common-sql`` ``>=1.20.0``
|
111
111
|
======================================= ==================
|
112
112
|
|
@@ -130,4 +130,4 @@ Dependent package
|
|
130
130
|
============================================================================================================ ==============
|
131
131
|
|
132
132
|
The changelog for the provider package can be found in the
|
133
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-sqlite/
|
133
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-sqlite/4.0.0/changelog.html>`_.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
airflow/providers/sqlite/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
|
2
|
+
airflow/providers/sqlite/__init__.py,sha256=a6qn75Yt2DwF5krdfvRiQzrm2gPiM0B9YJ6iQft1ZCw,1493
|
3
|
+
airflow/providers/sqlite/get_provider_info.py,sha256=j9ocB8sQ1joi2mlUFxoQQByAqqYCSNSEpHqTlX9uq_E,2852
|
4
|
+
airflow/providers/sqlite/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
+
airflow/providers/sqlite/hooks/sqlite.py,sha256=IFUwWUhtpjY2Fco7isATiX0gcJMzN0_zIW85sRE72zY,2482
|
6
|
+
apache_airflow_providers_sqlite-4.0.0rc1.dist-info/entry_points.txt,sha256=-ATQuveY9g-W1bjKwyJ7s-aw7CkMv87j8czqQNtoFf0,102
|
7
|
+
apache_airflow_providers_sqlite-4.0.0rc1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
8
|
+
apache_airflow_providers_sqlite-4.0.0rc1.dist-info/METADATA,sha256=Dje7nTdRAM63pdR-VKAVNYjEK-6hA5rRiJpAfGXvJxQ,5960
|
9
|
+
apache_airflow_providers_sqlite-4.0.0rc1.dist-info/RECORD,,
|
@@ -1,17 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
# or more contributor license agreements. See the NOTICE file
|
4
|
-
# distributed with this work for additional information
|
5
|
-
# regarding copyright ownership. The ASF licenses this file
|
6
|
-
# to you under the Apache License, Version 2.0 (the
|
7
|
-
# "License"); you may not use this file except in compliance
|
8
|
-
# with the License. You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing,
|
13
|
-
# software distributed under the License is distributed on an
|
14
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
# KIND, either express or implied. See the License for the
|
16
|
-
# specific language governing permissions and limitations
|
17
|
-
# under the License.
|
@@ -1,58 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
# or more contributor license agreements. See the NOTICE file
|
4
|
-
# distributed with this work for additional information
|
5
|
-
# regarding copyright ownership. The ASF licenses this file
|
6
|
-
# to you under the Apache License, Version 2.0 (the
|
7
|
-
# "License"); you may not use this file except in compliance
|
8
|
-
# with the License. You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing,
|
13
|
-
# software distributed under the License is distributed on an
|
14
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
# KIND, either express or implied. See the License for the
|
16
|
-
# specific language governing permissions and limitations
|
17
|
-
# under the License.
|
18
|
-
from __future__ import annotations
|
19
|
-
|
20
|
-
from typing import ClassVar, Sequence
|
21
|
-
|
22
|
-
from deprecated import deprecated
|
23
|
-
|
24
|
-
from airflow.exceptions import AirflowProviderDeprecationWarning
|
25
|
-
from airflow.providers.common.sql.operators.sql import SQLExecuteQueryOperator
|
26
|
-
|
27
|
-
|
28
|
-
@deprecated(
|
29
|
-
reason="Please use `airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.",
|
30
|
-
category=AirflowProviderDeprecationWarning,
|
31
|
-
)
|
32
|
-
class SqliteOperator(SQLExecuteQueryOperator):
|
33
|
-
"""
|
34
|
-
Executes sql code in a specific Sqlite database.
|
35
|
-
|
36
|
-
This class is deprecated.
|
37
|
-
|
38
|
-
Please use :class:`airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.
|
39
|
-
|
40
|
-
.. seealso::
|
41
|
-
For more information on how to use this operator, take a look at the guide:
|
42
|
-
:ref:`howto/operator:SqliteOperator`
|
43
|
-
|
44
|
-
:param sql: the sql code to be executed. Can receive a str representing a
|
45
|
-
sql statement, a list of str (sql statements), or reference to a template file.
|
46
|
-
Template reference are recognized by str ending in '.sql'
|
47
|
-
(templated)
|
48
|
-
:param sqlite_conn_id: reference to a specific sqlite database
|
49
|
-
:param parameters: (optional) the parameters to render the SQL query with.
|
50
|
-
"""
|
51
|
-
|
52
|
-
template_fields: Sequence[str] = ("sql",)
|
53
|
-
template_ext: Sequence[str] = (".sql",)
|
54
|
-
template_fields_renderers: ClassVar[dict] = {"sql": "sql"}
|
55
|
-
ui_color = "#cdaaed"
|
56
|
-
|
57
|
-
def __init__(self, *, sqlite_conn_id: str = "sqlite_default", **kwargs) -> None:
|
58
|
-
super().__init__(conn_id=sqlite_conn_id, **kwargs)
|
@@ -1,11 +0,0 @@
|
|
1
|
-
airflow/providers/sqlite/LICENSE,sha256=FFb4jd2AXnOOf7XLP04pQW6jbdhG49TxlGY6fFpCV1Y,13609
|
2
|
-
airflow/providers/sqlite/__init__.py,sha256=kCpImZQYEawwHHX2SPypez6jkfpjydXr4Ty9Y_tPNXk,1493
|
3
|
-
airflow/providers/sqlite/get_provider_info.py,sha256=TE_yOWK6hV7IjaEWj0iwQRpSTJrmczcTtPX624waUfA,2905
|
4
|
-
airflow/providers/sqlite/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
-
airflow/providers/sqlite/hooks/sqlite.py,sha256=IFUwWUhtpjY2Fco7isATiX0gcJMzN0_zIW85sRE72zY,2482
|
6
|
-
airflow/providers/sqlite/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
-
airflow/providers/sqlite/operators/sqlite.py,sha256=6twovZOVDzUZosFfSSc_wNF-tA8mhiR06Dw8WqPc9gk,2311
|
8
|
-
apache_airflow_providers_sqlite-3.9.1rc1.dist-info/entry_points.txt,sha256=-ATQuveY9g-W1bjKwyJ7s-aw7CkMv87j8czqQNtoFf0,102
|
9
|
-
apache_airflow_providers_sqlite-3.9.1rc1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
10
|
-
apache_airflow_providers_sqlite-3.9.1rc1.dist-info/METADATA,sha256=-ud4nw02F4bh12rnV5i_kRhEFBZUt4eDM7ig9i1oTA8,5981
|
11
|
-
apache_airflow_providers_sqlite-3.9.1rc1.dist-info/RECORD,,
|
File without changes
|