fix mypy error, add my.core.query to tests/core
This commit is contained in:
parent
feb8d5ff82
commit
3a486f2274
2 changed files with 2 additions and 1 deletions
|
@ -358,7 +358,7 @@ Will attempt to call iter() on the value""")
|
|||
order_by_chosen = lambda o: order_by_lookup[_determine_order_by_value_key(o)](o)
|
||||
|
||||
# run the sort, with the computed order by function
|
||||
itr = iter(sorted(itr, key=order_by_chosen, reverse=reverse)) # type: ignore[arg-type]
|
||||
itr = iter(sorted(itr, key=order_by_chosen, reverse=reverse)) # type: ignore[arg-type, type-var]
|
||||
else:
|
||||
# if not already done in the order_by block, reverse if specified
|
||||
if reverse:
|
||||
|
|
|
@ -18,4 +18,5 @@ from my.core.util import *
|
|||
from my.core.discovery_pure import *
|
||||
from my.core.freezer import *
|
||||
from my.core.stats import *
|
||||
from my.core.query import *
|
||||
from my.core.serialize import test_serialize_fallback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue