

@base.apimethod
def update_preference(self, preference_id, obj):
    '\n        Update a user preference\n\n        Upstream documentation: http://dev.desk.com/API/users/#preferences\n        '
    url = '{0}/{1}/{2}'.format(self.get_url(), 'preferences', preference_id)
    request = http.Request('PATCH', url, self.wrap_object(obj))
    return (request, parsers.parse_json)

dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/desk/users.py User.update_preference/original