refactor(types): declare download history and file query results

This commit is contained in:
jxxghp
2026-10-16 20:24:33 +08:00
parent 38cec1537f
commit 751e223dcc
5 changed files with 47 additions and 33 deletions

View File

@@ -977,9 +977,6 @@
"no-any-return": 1,
"redundant-cast": 2
},
"app/db/models/downloadhistory.py": {
"no-untyped-def": 19
},
"app/db/models/subscribe.py": {
"arg-type": 8,
"no-untyped-def": 18
@@ -990,7 +987,7 @@
"type-arg": 1
},
"app/db/oper/downloadhistory.py": {
"no-any-return": 3,
"no-any-return": 1,
"no-untyped-def": 9,
"type-arg": 3,
"union-attr": 2