parameters: (request_content, frequency_key, frequency)
docstring: Finds the channel settings key that contains the inputFrequencyOffset key
          and replace it with a single inputFrequencyOffset key with new frequency
docstring_summary: Finds the channel settings key that contains the inputFrequencyOffset key
          and replace it with a single inputFrequencyOffset key with new frequency
docstring_tokens: Finds the channel settings key that contains the inputFrequencyOffset key and replace it with a single inputFrequencyOffset key with new frequency
function: def update_frequency_setting(request_content, frequency_key, frequency):
      """ Finds the channel settings key that contains the inputFrequencyOffset key
          and replace it with a single inputFrequencyOffset key with new frequency
      """
  # ----------------------------------------------------------------------
      for k in request_content:
          setting_item = request_content[k]
          if isinstance(setting_item, dict):
              if frequency_key in setting_item:
                  setting_item.update({
                      frequency_key: frequency
                  })
function_tokens: def update_frequency_setting ( request_content , frequency_key , frequency ) : # ---------------------------------------------------------------------- for k in request_content : setting_item = request_content [ k ] if isinstance ( setting_item , dict ) : if frequency_key in setting_item : setting_item . update ( { frequency_key : frequency } )