diff --git a/my/core/query.py b/my/core/query.py index 4db3afb..aa9aa72 100644 --- a/my/core/query.py +++ b/my/core/query.py @@ -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: diff --git a/tests/core.py b/tests/core.py index 7fbc092..df4280b 100644 --- a/tests/core.py +++ b/tests/core.py @@ -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