lakshyacis
e47b573b3e
helper_sql pylint fixes
3 years ago
lakshyacis
e97d02ed78
depends pylint fixes
3 years ago
lakshyacis
a9991a7a5a
class_sqlThread pylint fixes
3 years ago
Dmitri Bogomolov
341651973a
Reduced imports:
...
- exported from network package all objects used outside;
- made all threads available in threads module.
Wrote some module docstrings.
3 years ago
coffeedogs
dd1ee618a5
Fixed: Simple Codacy errors and warnings in src/helper_*
...
* Some local pickle operations and non-cryptographic random operations
were marked as safe to the bandit linter
* A bandit config file was added and assert warnings are now ignored globally
* Tightened up exception handling and code style
5 years ago
Mahendra
4840b2db5c
add docstring for sqlQuery and sqlBulkExecute methrod in helper_sql and removed query method of sqlBulkExecute class
5 years ago
Mahendra
498557a6d6
Removed unused variable queryreturn from helper_sql
5 years ago
Mahendra
21922251e2
helper_sql formating
5 years ago
Dmitri Bogomolov
80fdb08f03
Made use of helper_sql.sqlExecuteChunked() in the on_action_MarkAllRead
5 years ago
Peter Šurda
48c0a2ae2e
Arithmetic fix for preceding commit
5 years ago
Peter Šurda
6ce3ce6b22
Chunking helper for sql statements with too many variables
...
- preparation for #1081
5 years ago
mailchuck
66824c32d1
sqlExecute now returns rowcount
...
This allows tracking of how many rows were changed, for example for
UPDATE, DELETE, INSERT.
7 years ago
mailchuck
6ad3c956c9
Allow SQL arguments as a list or tuple
7 years ago
Jonathan Warren
f64461feb0
fixes to new SQL refactoring
10 years ago
Jonathan Warren
ea3cf9e00e
minor changes to previous commit
10 years ago
Grant T. Olson
8d8e43b1fc
Added SqlBulkExecute class so we can update inventory without a million commits
10 years ago
Grant T. Olson
7499de4e13
have shared.py use helper_sql and move the sql queues and locks to helper_sql
10 years ago
Grant T. Olson
edf9101eae
Move duplicated sql code into helper
10 years ago