code: def add_env(url, saltenv):
      '''
      append `saltenv` to `url` as a query parameter to a 'salt://' url
      '''
      if not url.startswith('salt://'):
          return url
  
      path, senv = parse(url)
      return create(path, saltenvf add_env(url, saltenv):
      '''
      append `saltenv` to `url` as a query parameter to a 'salt://' url
      '''
      if not url.startswith('salt://'):
          return url
  
      path, senv = parse(url)
      return create(path, saltenv)
docs: append `saltenv` to `url` as a query parameter to a 'salt://' url