original_docstring: 
          Reset services (set "Do not calculate the cost of work") for user
          :param user_id:
          :return:
          
docstring: Reset services (set "Do not calculate the cost of work") for user
docstring_tokens: Reset services ( set " Do not calculate the cost of work " ) for user
code: def reset_services(self, user_id):
          """
          Reset services (set "Do not calculate the cost of work") for user
          :param user_id:
          :return:
          """
          url = self.BASE_URL + '/users/services/languagePair?idOfMyTeamUser=%s' % user_id
          data = {
              "generalizedSourceLanguageId": 9,
              "generalizedTargetLanguageId": 25,
              "sourceLanguageDialects": [],
              "targetLanguageDialects": [],
              "services": [
                  {"serviceType": 1, "currency": None, "pricePerUnit": None, "isPaidExternally": True},
                  {"serviceType": 2, "currency": None, "pricePerUnit": None, "isPaidExternally": True},
              ],
              "specializations": []
          }
          response = self.session.put(url, json=data)
          if response.status_code == 403:
              logging.info(response.content)
              self.sign_in()
              self.session.put(url, json=data)
  
          # ru <-> en
          data["generalizedSourceLanguageId"] = 25
          data["generalizedTargetLanguageId"] = 9
          return self.session.put(url, json=data)
code_tokens: def reset_services ( self , user_id ) : url = self . BASE_URL + '/users/services/languagePair?idOfMyTeamUser=%s' % user_id data = { "generalizedSourceLanguageId" : 9 , "generalizedTargetLanguageId" : 25 , "sourceLanguageDialects" : [ ] , "targetLanguageDialects" : [ ] , "services" : [ { "serviceType" : 1 , "currency" : None , "pricePerUnit" : None , "isPaidExternally" : True } , { "serviceType" : 2 , "currency" : None , "pricePerUnit" : None , "isPaidExternally" : True } , ] , "specializations" : [ ] } response = self . session . put ( url , json = data ) if response . status_code == 403 : logging . info ( response . content ) self . sign_in ( ) self . session . put ( url , json = data ) data [ "generalizedSourceLanguageId" ] = 25 data [ "generalizedTargetLanguageId" ] = 9 return self . session . put ( url , json = data )
short_docstring: Reset services (set "Do not calculate the cost of work") for user
short_docstring_tokens: Reset services ( set " Do not calculate the cost of work " ) for user
comment: """
          Reset services (set "Do not calculate the cost of work") for user
          :param user_id:
          :return:
          """$SEP$# ru <-> en