Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit e25f45c

Browse files
vvkhgithub-actions[bot]
authored andcommitted
style fixes by ruff
1 parent 8bc6ee5 commit e25f45c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

data_diff/databases/postgresql.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,7 @@ def select_table_schema(self, path: DbPath) -> str:
190190
if database:
191191
info_schema_path.insert(0, database)
192192

193-
return (
194-
f"""SELECT column_name, data_type, datetime_precision,
193+
return f"""SELECT column_name, data_type, datetime_precision,
195194
CASE
196195
WHEN data_type = 'numeric'
197196
THEN coalesce(numeric_precision, 131072 + 16383)
@@ -205,7 +204,6 @@ def select_table_schema(self, path: DbPath) -> str:
205204
FROM {'.'.join(info_schema_path)}
206205
WHERE table_name = '{table}' AND table_schema = '{schema}'
207206
"""
208-
)
209207

210208
def select_table_unique_columns(self, path: DbPath) -> str:
211209
database, schema, table = self._normalize_table_path(path)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy