code: def set_base_url(url):
      
      global _base_url, _dirty
  
      LOGGER.debug('Setting base URL to %s', url)
      _base_url = url
      _dirty = True
docs: Override the default base URL value created from the environment
      variable configuration.
  
      :param str url: The base URL to use when submitting measurements