recombee_api_client.api_requests.set_user_values module

class recombee_api_client.api_requests.set_user_values.SetUserValues(user_id, values, cascade_create=None)

Bases: recombee_api_client.api_requests.set_values.SetValues

Set/update (some) property values of a given user. The properties (columns) must be previously created by [Add user property](https://docs.recombee.com/api.html#add-user-property).

Required parameters: :param user_id: ID of the user which will be modified.

Parameters

values – The values for the individual properties.

Example:

```

E{lb}

“country”: “US”, “sex”: “F”,

E{rb}

```

Optional parameters:

Parameters

cascade_create – Sets whether the given user should be created if not present in the database.