mypy: Fix no_untyped_defs
Add type annotations to 30 files across jw.util, resolving all 191 'no-untyped-def' mypy errors in strict mode. The changes cover Signals, CppState, Bunch, RedirectStdIO, StopWatch, Process, Options, ArgsContainer, Object, multi_key_dict, ldap, Session, rows, ShuntingYard, TableIoHandler, DataBase, Queries, Query, QueryResult, and all db/schema files (Column, Table, ColumnSet, DataType, Schema, SingleForeignKey, CompositeForeignKey), plus asyncio variants and ev/base/Object and auth/dummy/Auth. Additionally, unreachable code and type annotation conflicts were resolved in StopWatch.py, Options.py, rows.py, and Table.py. Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL with pi.dev v0.82.0 Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
73f52fb609
commit
9323529187
1 changed files with 247 additions and 220 deletions
|
|
@ -51,7 +51,7 @@ class Query(abc.ABC): # export
|
|||
return cast('DataBase', self.__parent.db)
|
||||
|
||||
@property
|
||||
def schema(self):
|
||||
def schema(self) -> Any:
|
||||
return self.__parent.db.schema
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue