code: def __call__(self, handler_type: str, handler: type, **kwargs: dict):
      if self.host is None or self.port is None:
          logger.info(
              "%s.__call__: no post/port to DBService have provided. Handle all db request locally",
              self.__class__.__name__,
          )
          return handler(**kwargs)
  
      logger.info(
          "%s.__call__: api to communicate with db services - gRPC, host - %s, port - %s",
          self.__class__.__name__,
          self.host,
          self.port,
      )
  
      return self.client_class(handler_type, **kwargs)
  
imports: import os
  from mindsdb.utilities import log
label_desc: Use image node_id 2 for calling the DBClientFactory obj's underlying member method code with example usage: obj.__call__(handler_type, handler) and returns: self, handler