code: def __init__(self):
      self.host = os.environ.get("MINDSDB_DB_SERVICE_HOST", None)
      self.port = os.environ.get("MINDSDB_DB_SERVICE_PORT", None)
      if self.host is not None and self.port is not None:
          try:
              from mindsdb.integrations.handlers_client.db_grpc_client import (
                  DBClientGRPC,
              )
  
              self.client_class = DBClientGRPC
          except (ImportError, ModuleNotFoundError):
              logger.info(
                  "to work with microservice mode please install 'pip install mindsdb[grpc]'"
              )
              self.host = None
              self.port = None
  
imports: import os
  from mindsdb.utilities import log
label_desc: Use image node_id 1 to create a new DBClientFactory object  with example: obj = DBClientFactory()