class_docstr: Implementation class of an MII inference server
class_docstr_tok: ["Implementation","class","of","an","MII","inference","server"]
code: def DestroySession(self, request, context):
      task_methods = GRPC_METHOD_TABLE[TaskType.TEXT_GENERATION]
      task_methods.destroy_session(request.session_id)
      return google_dot_protobuf_dot_empty__pb2.Empty()
  
imports: import asyncio
  from concurrent import futures
  import logging
  import grpc
  from google.protobuf import empty_pb2
  from .proto import legacymodelresponse_pb2_grpc
  import sys
  import threading
  import time
  from mii.legacy.constants import GRPC_MAX_MSG_SIZE, CREATE_SESSION_METHOD, DESTROY_SESSION_METHOD, TERMINATE_METHOD, LB_MAX_WORKER_THREADS, SERVER_SHUTDOWN_TIMEOUT, TaskType
  from mii.legacy.method_table import GRPC_METHOD_TABLE
  from mii.legacy.client import create_channel
  from mii.legacy.utils import unpack_proto_query_kwargs
label_desc: Use image node_id 4 for calling the ModelResponse obj's underlying member method code with example usage: obj.DestroySession(request, context) and returns: google_dot_protobuf_dot_empty__pb2