code: def _start_view(args):
      data = ViewDataImpl(args)
      host = _host(args)
      port = args.port or util.free_port()
      if args.test:
          _start_tester(host, port)
          args.no_open = True
      try:
          view.serve_forever(
              data, host, port, args.no_open, args.dev, args.logging
          )
      except socket.gaierror as e:
          cli.error(str(e))
  
imports: import json
  import logging
  import os
  import re
  import socket
  import sys
  import guild
  import guild.run
  from guild import batch_util
  from guild import cli
  from guild import click_util
  from guild import config
  from guild import index
  from guild import run_util
  from guild import util
  from guild import var
  from guild import view
  from .None import compare_impl
  from .None import runs_impl
label_desc: Use image node_id 24 for calling a global function with example usage: _start_view(args) without return types