def to_dict(l):
    return dict(zip(map(str, range(len(l))), l))
Make sure user is alerted when using deprecated ``lookup_type``.
dataset/ETHPy150Open quantopian/zipline/tests/pipeline/test_term.py/to_dict--crossover with--dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py/FilterTests.test_lookup_type_deprecation