code: def main(args):
      """Main function
  
      Parameters
      ----------
      args : argparse.Namespace
          parsed args from command-line invocation
      """
      if args.tracker:
          url, port = args.tracker.rsplit(":", 1)
          port = int(port)
          tracker_addr = (url, port)
          if not args.key:
              raise RuntimeError(
                  "Need key to present type of resource when tracker is available"
              )
      else:
          tracker_addr = None
  
      server = rpc.Server(
          args.host,
          args.port,
          args.port_end,
          is_proxy=args.through_proxy,
          key=args.key,
          tracker_addr=tracker_addr,
          load_library=args.load_library,
          custom_addr=args.custom_addr,
          silent=args.silent,
          no_fork=not args.fork,
      )
      server.proc.join()
  
imports: import argparse
  import logging
  from ..None import rpc
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types