code: def generate_grpc_client_stubs():
      print("## Started generating gRPC clinet stubs")
      cmd = (
          "python -m grpc_tools.protoc -I third_party/google/rpc --proto_path=frontend/server/src/main/resources/proto/ --python_out=ts_scripts "
          "--grpc_python_out=ts_scripts frontend/server/src/main/resources/proto/inference.proto "
          "frontend/server/src/main/resources/proto/management.proto"
      )
      status = os.system(cmd)
      if status != 0:
          print("Could not generate gRPC client stubs")
          sys.exit(1)
  
imports: import os
  import platform
  import sys
  import threading
  from pathlib import Path
  from subprocess import PIPE, STDOUT, Popen
  import requests
  from ts_scripts import marsgen
label_desc: Use image node_id 6 for calling a global function with example usage: generate_grpc_client_stubs() without return types