@@ -77,7 +77,7 @@ def get_mapping_data(self):
77
77
update_required : bool = False
78
78
79
79
datestamp = self .cursor .execute (
80
- f"SELECT * FROM { self .update_table_name } "
80
+ f"SELECT * FROM { self .update_table_name } " # nosec
81
81
).fetchone () # update_table_name validated in __init__
82
82
83
83
if datestamp and type (datestamp ) is tuple :
@@ -93,18 +93,18 @@ def get_mapping_data(self):
93
93
self .cursor .execute (f"DELETE FROM { self .table_name } " ) # nosec
94
94
self .cursor .execute (f"DELETE FROM { self .update_table_name } " ) # nosec
95
95
self .cursor .execute (
96
- f"INSERT INTO { self .update_table_name } VALUES (?)" ,
96
+ f"INSERT INTO { self .update_table_name } VALUES (?)" , # nosec
97
97
(time .time (),),
98
98
)
99
99
100
100
for mapping in self .mapping_function ():
101
101
self .cursor .execute (
102
- f"INSERT INTO { self .table_name } (version, sourceId) VALUES (?, ?)" ,
102
+ f"INSERT INTO { self .table_name } (version, sourceId) VALUES (?, ?)" , # nosec
103
103
(mapping [0 ], mapping [1 ]),
104
104
)
105
105
106
106
data = self .cursor .execute (
107
- f"SELECT * FROM { self .table_name } "
107
+ f"SELECT * FROM { self .table_name } " # nosec
108
108
).fetchall () # table_name validated in __init__
109
109
110
110
if self .conn is not None :
0 commit comments