code: def unregister(stub, model_name):
      try:
          response = stub.UnregisterModel(
              management_pb2.UnregisterModelRequest(
                  model_name=model_name
              )
          )
          print(f"Model {model_name} unregistered successfully")
      except grpc.RpcError as e:
          print(f"Failed to unregister model {model_name}.")
          print(str(e.details()))
          exit(1)
  
imports: import argparse
  import queue
  import threading
  from functools import partial
  import grpc
  import inference_pb2
  import inference_pb2_grpc
  import management_pb2
  import management_pb2_grpc
label_desc: Use image node_id 7 for calling a global function with example usage: unregister(stub, model_name) without return types