18 Commits

Author SHA1 Message Date
Abhi
46a2d50947 fix: sqlite3.ProgrammingError
Recursive use of cursors not allowed.
2024-08-09 00:41:53 +05:30
Abhi
f94b6f1037 default overriden by expected_value in MongoDB 2024-05-06 21:01:23 +05:30
allinoneallinone00
7bae8fdac6 Done ig 2024-05-02 00:07:20 +00:00
allinoneallinone00
1c8b7a2f6f SQL :> 2024-05-01 23:30:43 +00:00
deepsource-autofix[bot]
292ac91b04 refactor: fix dangerous default argument
Do not use a mutable like `list` or `dictionary` as a default value to an argument. Python’s default arguments are evaluated once when the function is defined. Using a mutable default argument and mutating it will mutate that object for all future calls to the function as well.
2024-05-01 23:03:11 +05:30
deepsource-autofix[bot]
23341d79ae refactor: remove unnecessary whitespace
Blank lines should not contain any tabs or spaces.
2024-05-01 22:50:34 +05:30
deepsource-autofix[bot]
ba975a324b refactor: refactor unnecessary else / elif when if block has a return statement
The use of `else` or `elif` becomes redundant and can be dropped if the last statement under the leading `if` / `elif` block is a `return` statement.
In the case of an `elif` after `return`, it can be written as a separate `if` block.
For `else` blocks after `return`, the statements can be shifted out of `else`. Please refer to the examples below for reference.

Refactoring the code this way can improve code-readability and make it easier to maintain.
2024-05-01 22:19:37 +05:30
allinoneallinone00
b10ab9b5a3 MongoDB Ai fixes 2024-04-29 10:16:45 +00:00
allinoneallinone00
6fbe116cef Better Ai users db handling and bug fixes 2024-04-29 10:14:02 +00:00
allinoneallinone00
1248319336 Fix MongoDB 2024-04-29 09:19:02 +00:00
allinoneallinone00
698c308b91 Add Ai chatbot 2024-04-29 01:26:32 +00:00
allinoneallinone00
f8a88e99fa Add Image Gen lexicapi, Improved logging format 2024-04-25 00:45:47 +00:00
allinoneallinone00
57044f6a03 SQL attacks :D 2024-04-23 20:38:18 +00:00
allinoneallinone00
bbbc56123f Fix mongodb for cohere 2024-04-22 11:41:14 +00:00
Abhi
6054b313c9 Add cohere(Coral) Ai support 2024-04-14 08:58:19 +00:00
AbhiTheModder
3e8520b0f5 refactor 2023-02-09 11:55:47 +05:30
AbhiTheModder
e5916bf07a update db.py 2023-02-09 01:35:25 +05:30
AbhiTheModder
9131afe855 add db.py 2023-02-09 01:33:18 +05:30