fix mypy error, add my.core.query to tests/core

This commit is contained in:
Sean Breckenridge 2021-03-23 12:13:07 -07:00
parent feb8d5ff82
commit 3a486f2274
2 changed files with 2 additions and 1 deletions

View file

@ -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:

View file

@ -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