def get_all_test_run_metadata_keys(session=None):
    session = session or get_session()
    keys = session.query(models.TestRunMetadata.key).distinct().all()
    return [key[0] for key in keys]
Like index_add_instance but deletes the instance from the index.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_all_test_run_metadata_keys--crossover with--dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/utils/search.py/index_del_instance