code: def up(options, context):
      """
      Calls to run `aim up` command width corresponding arguments
      Handles the result of the command
      Renders the <iframe> tag for the notebook and message for the shell users
      The <iframe> renders width the corresponding way for different execution contexts (mainly for notebooks)
      """
  
      try:
          import IPython
          import IPython.display
      except ImportError:
          IPython = None
  
      display = None
      if context == _OTHER_EXEC_CONTEXT:
          print("Launching Aim ...")
      else:
          display = IPython.display.display(
              IPython.display.Pretty("Launching Aim ..."),
              display_id=True,
          )
  
      result = manager.run_process(UP_NAME, options)
  
      if result.status == manager.ManagerActionStatuses.Failed:
          print(result.info["message"])
          return
  
      port = result.info["port"]
      host = result.info["host"]
  
      # successful exec of aim up command
      if context == _COLAB_EXEC_CONTEXT:
          display_colab(port, display)
          return
      if context == _IPYTHON_EXEC_CONTEXT:
          display_notebook(
              host, port, display, options.get("--proxy-url")
          )
          return
  
      # other context
      print("Open {}:{}".format(host, port))
  
file_path: aim/aim/ext/notebook/notebook.py
imports: import shlex
  from aim.cli.configs import VERSION_NAME, UP_NAME
  import aim.cli.manager.manager
label_desc: Use image node_id 5 for calling a global function with example usage: up(options, context) without return types