(self, config_location)
:param config_location: Location of local config file
        Update local config with global config.
:param config_location: Location of local config file
        Update local config with global config.
: param config_location : Location of local config file Update local config with global config .
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)
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 )