recombee_api_client.api_requests.delete_view_portion module

class recombee_api_client.api_requests.delete_view_portion.DeleteViewPortion(user_id: str, item_id: str, session_id: str = UUID('9ea7c089-e6ed-4a87-9fbe-96af0f977c58'))

Bases: recombee_api_client.api_requests.request.Request

Deletes an existing view portion specified by (userId, itemId, sessionId) from the database.

Required parameters:

Parameters
  • user_id – ID of the user who rated the item.

  • item_id – ID of the item which was rated.

Optional parameters:

Parameters

session_id – Identifier of a session.

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).