remove locator, use qualified func name
premature optimization, assuming that would be how someone interacted with this might as well move it as we'll instead use the qualified function name for input
This commit is contained in:
parent
dadfcb5b6a
commit
8c16aed7d6
2 changed files with 16 additions and 11 deletions
|
@ -330,7 +330,7 @@ Specify a type or a key to order the value by""")
|
|||
attr_func=order_by_chosen, # type: ignore[arg-type]
|
||||
default_before=time.time(),
|
||||
value_coercion_func=_datelike_to_float)
|
||||
elif order_by_value_type in [str, int, float]:
|
||||
elif order_by_value_type in [int, float]:
|
||||
# allow primitives to be converted using the default int(), float() callables
|
||||
filter_func = _create_range_filter(
|
||||
unparsed_range=unparsed_range,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue