Skip to content

Commit 0d84fa9

Browse files
committed
Removed unused imports
Added final TODO
1 parent 311401f commit 0d84fa9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/oracle/subject_selection_query_builder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Dict, Union, Tuple, Optional
1+
from typing import Dict, Optional
22
import logging
33
from datetime import datetime, date
44
from utils.notify_criteria_parser import parse_notify_criteria
@@ -154,6 +154,8 @@ def _start_where_clause(self) -> None:
154154
def _end_where_clause(self, subject_count: int) -> None:
155155
self.sql_where.append(f" FETCH FIRST {subject_count} ROWS ONLY ")
156156

157+
# TODO: Address Sonarqube error: Refactor this function to reduce its
158+
# Cognitive Complexity from 19 to the 15 allowed.
157159
def _add_variable_selection_criteria(
158160
self,
159161
criteria: Dict[str, str],

0 commit comments

Comments
 (0)