code: def set_config(self, config):
          '''
          Set launch data from a ToolConfig.
          '''
          if self.launch_url == None:
              self.launch_url = config.launch_url
              self.custom_params.update(config.custom_paramsf set_config(self, config):
          '''
          Set launch data from a ToolConfig.
          '''
          if self.launch_url == None:
              self.launch_url = config.launch_url
              self.custom_params.update(config.custom_params)
docs: Set launch data from a ToolConfig.