Package recombee_api_client :: Package api_requests :: Module get_user_property_info
[hide private]
[frames] | no frames]

Source Code for Module recombee_api_client.api_requests.get_user_property_info

 1  from recombee_api_client.api_requests.request import Request 
 2  import uuid 
 3   
 4  DEFAULT = uuid.uuid4() 
 5   
6 -class GetUserPropertyInfo(Request):
7 """ 8 Gets information about specified user property. 9 10 """ 11
12 - def __init__(self, property_name):
13 """ 14 Required parameters: 15 @param property_name: Name of the property about which the information is to be retrieved. 16 17 """ 18 self.property_name = property_name 19 self.timeout = 100000 20 self.ensure_https = False 21 self.method = 'get' 22 self.path = "/users/properties/%s" % (self.quote_path_param(self.property_name))
23
24 - def get_body_parameters(self):
25 """ 26 Values of body parameters as a dictionary (name of parameter: value of the parameter). 27 """ 28 p = dict() 29 return p
30
31 - def get_query_parameters(self):
32 """ 33 Values of query parameters as a dictionary (name of parameter: value of the parameter). 34 """ 35 params = dict() 36 return params
37