code: def start_server_blocking(
      graph_creation_extension_dir=None,
      start_local_cuda_cluster=False,
      dask_scheduler_file=None,
      host=defaults.host,
      port=defaults.port,
      protocol=None,
      rmm_pool_size=None,
      dask_worker_devices=None,
      console_message="",
  ):
      """
      Start the cugraph_service server on host/port, with graph creation
      extensions in graph_creation_extension_dir preloaded if specified, and a
      dask client initialized based on dask_scheduler_file if specified (if not
      specified, server runs in SG mode). If console_message is specified, the
      string is printed just after the handler is created and before the server
      starts listening for connections. This call blocks indefinitely until
      Ctrl-C.
      """
      handler = CugraphHandler()
      if start_local_cuda_cluster and (dask_scheduler_file is not None):
          raise ValueError(
              "dask_scheduler_file cannot be set if start_local_cuda_cluster is True"
          )
  
      if graph_creation_extension_dir is not None:
          handler.load_graph_creation_extensions(
              graph_creation_extension_dir
          )
      if dask_scheduler_file is not None:
          handler.initialize_dask_client(
              dask_scheduler_file=dask_scheduler_file
          )
      elif start_local_cuda_cluster:
          handler.initialize_dask_client(
              protocol=protocol,
              rmm_pool_size=rmm_pool_size,
              dask_worker_devices=dask_worker_devices,
          )
  
      if console_message != "":
          print(console_message, flush=True)
      server = create_server(handler, host=host, port=port)
      server.serve()
  
imports: from cugraph_service_client import defaults
  from cugraph_service_client.cugraph_service_thrift import create_server
  from cugraph_service_server.cugraph_handler import CugraphHandler
  from cugraph_service_server._version import __git_commit__, __version__
label_desc: Use image node_id 1 for calling a global function with example usage: start_server_blocking(graph_creation_extension_dir, start_local_cuda_cluster, dask_scheduler_file, host, port, protocol, rmm_pool_size, dask_worker_devices, console_message) without return types