def _remove_failed_items(self, failed_items, items_to_create, items_to_update, items_to_delete):
for item in failed_items:<EOL><INDENT>content_metadata_id = item['<STR_LIT>']<EOL>items_to_create.pop(content_metadata_id, None)<EOL>items_to_update.pop(content_metadata_id, None)<EOL>items_to_delete.pop(content_metadata_id, None)<EOL><DEDENT>
Remove content metadata items from the `items_to_create`, `items_to_update`, `items_to_delete` dicts.

Arguments:
    failed_items (list): Failed Items to be removed.
    items_to_create (dict): dict containing the items created successfully.
    items_to_update (dict): dict containing the items updated successfully.
    items_to_delete (dict): dict containing the items deleted successfully.