Skip to content

Commit 32f6fff

Browse files
committed
indent fix
1 parent bfdb291 commit 32f6fff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/db.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def search_issue_type_summary(params: IssueTypeSummaryParams):
140140
sql_count = f"SELECT COUNT(*) FROM '{s3_uri}' {where_clause}"
141141
sql_results = f"""
142142
SELECT organisation, organisation_name, dataset, issue_type, fields,
143-
count_issues, severity, responsibility FROM '{s3_uri}' {where_clause} LIMIT ? OFFSET ?"""
143+
count_issues, severity, responsibility FROM '{s3_uri}' {where_clause} LIMIT ? OFFSET ?"""
144144

145145
logger.debug(sql_count)
146146
logger.debug(sql_results)
@@ -189,9 +189,8 @@ def search_dataset_resource_mapping(params: CommonParams):
189189

190190
sql_count = f"SELECT COUNT(*) FROM '{s3_uri}' {where_clause}"
191191
sql_results = f"""
192-
SELECT organisation, dataset, resource, mapped_fields FROM
193-
'{s3_uri}' {where_clause}
194-
LIMIT ? OFFSET ?"""
192+
SELECT organisation, dataset, resource, mapped_fields FROM
193+
'{s3_uri}' {where_clause} LIMIT ? OFFSET ?"""
195194

196195
logger.debug(sql_count)
197196
logger.debug(sql_results)

0 commit comments

Comments
 (0)