apache-airflow-providers-postgres 5.9.0rc1__py3-none-any.whl → 5.10.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/postgres/__init__.py +1 -1
- airflow/providers/postgres/get_provider_info.py +2 -1
- airflow/providers/postgres/hooks/postgres.py +4 -5
- {apache_airflow_providers_postgres-5.9.0rc1.dist-info → apache_airflow_providers_postgres-5.10.0rc1.dist-info}/METADATA +6 -6
- apache_airflow_providers_postgres-5.10.0rc1.dist-info/RECORD +11 -0
- apache_airflow_providers_postgres-5.9.0rc1.dist-info/RECORD +0 -11
- {apache_airflow_providers_postgres-5.9.0rc1.dist-info → apache_airflow_providers_postgres-5.10.0rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_postgres-5.9.0rc1.dist-info → apache_airflow_providers_postgres-5.10.0rc1.dist-info}/entry_points.txt +0 -0
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
28
28
|
"name": "PostgreSQL",
|
29
29
|
"description": "`PostgreSQL <https://www.postgresql.org/>`__\n",
|
30
30
|
"suspended": False,
|
31
|
-
"source-date-epoch":
|
31
|
+
"source-date-epoch": 1703288162,
|
32
32
|
"versions": [
|
33
|
+
"5.10.0",
|
33
34
|
"5.9.0",
|
34
35
|
"5.8.0",
|
35
36
|
"5.7.1",
|
@@ -275,9 +275,8 @@ class PostgresHook(DbApiHook):
|
|
275
275
|
pk_columns = [row[0] for row in self.get_records(sql, (schema, table))]
|
276
276
|
return pk_columns or None
|
277
277
|
|
278
|
-
@classmethod
|
279
278
|
def _generate_insert_sql(
|
280
|
-
|
279
|
+
self, table: str, values: tuple[str, ...], target_fields: Iterable[str], replace: bool, **kwargs
|
281
280
|
) -> str:
|
282
281
|
"""Generate the INSERT SQL statement.
|
283
282
|
|
@@ -292,7 +291,7 @@ class PostgresHook(DbApiHook):
|
|
292
291
|
:return: The generated INSERT or REPLACE SQL statement
|
293
292
|
"""
|
294
293
|
placeholders = [
|
295
|
-
|
294
|
+
self.placeholder,
|
296
295
|
] * len(values)
|
297
296
|
replace_index = kwargs.get("replace_index")
|
298
297
|
|
@@ -366,8 +365,8 @@ class PostgresHook(DbApiHook):
|
|
366
365
|
"""Returns current schema. This is usually changed with ``SEARCH_PATH`` parameter."""
|
367
366
|
return self.get_first("SELECT CURRENT_SCHEMA;")[0]
|
368
367
|
|
369
|
-
@
|
370
|
-
def get_ui_field_behaviour() -> dict[str, Any]:
|
368
|
+
@classmethod
|
369
|
+
def get_ui_field_behaviour(cls) -> dict[str, Any]:
|
371
370
|
return {
|
372
371
|
"hidden_fields": [],
|
373
372
|
"relabeling": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: apache-airflow-providers-postgres
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.10.0rc1
|
4
4
|
Summary: Provider package apache-airflow-providers-postgres for Apache Airflow
|
5
5
|
Keywords: airflow-provider,postgres,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -27,8 +27,8 @@ Requires-Dist: apache-airflow-providers-amazon>=2.6.0 ; extra == "amazon"
|
|
27
27
|
Requires-Dist: apache-airflow-providers-common-sql ; extra == "common.sql"
|
28
28
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
29
29
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
30
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.0/changelog.html
|
31
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.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
|
@@ -81,7 +81,7 @@ Provides-Extra: openlineage
|
|
81
81
|
|
82
82
|
Package ``apache-airflow-providers-postgres``
|
83
83
|
|
84
|
-
Release: ``5.
|
84
|
+
Release: ``5.10.0.rc1``
|
85
85
|
|
86
86
|
|
87
87
|
`PostgreSQL <https://www.postgresql.org/>`__
|
@@ -94,7 +94,7 @@ This is a provider package for ``postgres`` provider. All classes for this provi
|
|
94
94
|
are in ``airflow.providers.postgres`` python package.
|
95
95
|
|
96
96
|
You can find package information and changelog for the provider
|
97
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
97
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.0/>`_.
|
98
98
|
|
99
99
|
Installation
|
100
100
|
------------
|
@@ -138,4 +138,4 @@ Dependent package
|
|
138
138
|
============================================================================================================== ===============
|
139
139
|
|
140
140
|
The changelog for the provider package can be found in the
|
141
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
141
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.0/changelog.html>`_.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
airflow/providers/postgres/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
2
|
+
airflow/providers/postgres/__init__.py,sha256=5t2y6Uv957LhEQxqS8MxRW5pz8gynqzFodA9MHFyj8Y,1584
|
3
|
+
airflow/providers/postgres/get_provider_info.py,sha256=PsXj8v9bcXg49ybwXzwmAtdXfXFj-0hifo66xPgfRng,3316
|
4
|
+
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
+
airflow/providers/postgres/hooks/postgres.py,sha256=fJkUET2JMv_4FSmWCp_fRmMCeHeft01rv_TSzLRF-9c,15690
|
6
|
+
airflow/providers/postgres/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
+
airflow/providers/postgres/operators/postgres.py,sha256=8nrKGIQvf_0KBg8wm7OQpp7Q6l-oXV2QeuMOTqPQj5U,3544
|
8
|
+
apache_airflow_providers_postgres-5.10.0rc1.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
9
|
+
apache_airflow_providers_postgres-5.10.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
10
|
+
apache_airflow_providers_postgres-5.10.0rc1.dist-info/METADATA,sha256=QaolrhxtB4J0GDpnEiWnfFqHKzDZVn6P77yGvGWLACA,6572
|
11
|
+
apache_airflow_providers_postgres-5.10.0rc1.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
airflow/providers/postgres/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
2
|
-
airflow/providers/postgres/__init__.py,sha256=TJ_bT7wW3-TYiLiJfQPC-ivsJfyp7U1My9l2Sx4gZCw,1583
|
3
|
-
airflow/providers/postgres/get_provider_info.py,sha256=dua2iKtczapHH6799iLtqHgJhpSiKfoiBmQ7GfYVRg8,3294
|
4
|
-
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
-
airflow/providers/postgres/hooks/postgres.py,sha256=zibysgtBSLmFoYjld-zoTs-8TS1LQB5GlzvQnixvADM,15703
|
6
|
-
airflow/providers/postgres/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
-
airflow/providers/postgres/operators/postgres.py,sha256=8nrKGIQvf_0KBg8wm7OQpp7Q6l-oXV2QeuMOTqPQj5U,3544
|
8
|
-
apache_airflow_providers_postgres-5.9.0rc1.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
9
|
-
apache_airflow_providers_postgres-5.9.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
10
|
-
apache_airflow_providers_postgres-5.9.0rc1.dist-info/METADATA,sha256=8zNxqZMPX3m2_R03CAgeLwqG2WKa4Lg_yc7JLD8xOak,6566
|
11
|
-
apache_airflow_providers_postgres-5.9.0rc1.dist-info/RECORD,,
|
File without changes
|