code: def upgrade(url=None):
      from .auth import get_config_file
  
      if not url:
          if "http" not in get_config_file()["offline_url"]:
              raise Exception(
                  "No default offline URL set \n"
                  "Please run cf.set_config_file(offline_url=xx) to set \n"
                  "the default offline URL."
              )
          else:
              url = get_config_file()["offline_url"]
      py_offline.download_plotlyjs(url)
  
imports: import plotly.offline
label_desc: Use image node_id 5 for calling a global function with example usage: upgrade(url) without return types