recombee_api_client.api_requests.delete_more_items module

class recombee_api_client.api_requests.delete_more_items.DeleteMoreItems(filter: str)

Bases: recombee_api_client.api_requests.request.Request

Delete all the items that pass the filter.

If an item becomes obsolete/no longer available, it is meaningful to keep it in the catalog (along with all the interaction data, which are very useful), and only exclude the item from recommendations. In such a case, use [ReQL filter](https://docs.recombee.com/reql.html) instead of deleting the item completely. Required parameters:

Parameters

filter – A [ReQL](https://docs.recombee.com/reql.html) expression, which return true for the items that shall be updated.

get_body_parameters() → dict

Values of body parameters as a dictionary (name of parameter: value of the parameter).

get_query_parameters() → dict

Values of query parameters as a dictionary (name of parameter: value of the parameter).