def get_key_func(key_func):
    if key_func is not None:
        if callable(key_func):
            return key_func
        else:
            return import_string(key_func)
    return default_key_func
Checking repeated queries, varying start, stop, step (another
dataset/ETHPy150Open django/django/django/core/cache/backends/base.py/get_key_func--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_indexvalues.py/SelectValuesTestCase.test13d