hubmapconsortium/search-api

Remove `add_datasets_to_entity()` for Collection and Upload

Closed this issue · 1 comments

AFTER the Harvard team addresses the corresponding changes in the portal-ui following the changes described in #754, we should remove the use of Collection.datasets and Upload.datasets from the index procedure.

def add_datasets_to_entity(self, entity):

There will be no need to compose a list of datasets:

entity['datasets'] = datasets

This issue becomes irrelevant due to #911