fix mypy issues after mypy/libraries updates

This commit is contained in:
karlicoss 2023-11-10 22:28:28 +00:00
parent efa2e53c8a
commit 0ee43b88bf
6 changed files with 9 additions and 9 deletions

View file

@ -327,7 +327,7 @@ def select_range(
# we should search for on each value in the iterator
if order_value is None and order_by_value_type is not None:
# search for that type on the iterator object
order_value = lambda o: isinstance(o, order_by_value_type) # type: ignore
order_value = lambda o: isinstance(o, order_by_value_type)
# if the user supplied a order_key, and/or we've generated an order_value, create
# the function that accesses that type on each value in the iterator