-
Notifications
You must be signed in to change notification settings - Fork 123
Open
Description
The decorator present in the below method adds metadata to the enriched item even if the item is empty
def metadata(func): |
An empty item may be generated in case the item does not belong to a category that is to be enriched. For e.g in case, the item does not belong to 'issues', 'pull requests' or 'repositories' in the case of github2 enricher.
def get_rich_item(self, item): |
An update is also needed here to upload only non-empty documents:
items_to_enrich.append(eitem) |
Metadata
Metadata
Assignees
Labels
No labels