parameters: (self, config_location)
docstring: :param config_location: Location of local config file
          Update local config with global config.
docstring_summary: :param config_location: Location of local config file
          Update local config with global config.
docstring_tokens: : param config_location : Location of local config file Update local config with global config .
function: def update_config(self, config_location):
          """
          :param config_location: Location of local config file
          Update local config with global config.
          """
          config = self.configurator.get_config()
          url = self._item_url('local_computer', config['id'])
          response = requests.get(url, headers= self.sec_header())
          if self.check_response_ok(response):
              updated_config = json.loads(response.content)
              for key in updated_config.keys():
                  config[key] = updated_config[key]
              self.configurator.write_config(config_location)
function_tokens: def update_config ( self , config_location ) : config = self . configurator . get_config ( ) url = self . _item_url ( 'local_computer' , config [ 'id' ] ) response = requests . get ( url , headers = self . sec_header ( ) ) if self . check_response_ok ( response ) : updated_config = json . loads ( response . content ) for key in updated_config . keys ( ) : config [ key ] = updated_config [ key ] self . configurator . write_config ( config_location )