class_docstr: This handler handles connection and execution of the DocumentDB statements.
code: def connect(self):
      kwargs = {}
      if isinstance(self.user, str) and len(self.user) > 0:
          kwargs["username"] = self.user
  
      if isinstance(self.password, str) and len(self.password) > 0:
          kwargs["password"] = self.password
  
      connection = MongoClient(
          host=self.host, port=self.port, **{**kwargs, **self.mykwargs}
      )
  
      self.is_connected = True
      self.connection = connection
      return self.connection
  
imports: from collections import OrderedDict
  from pymongo import MongoClient
  from mindsdb.integrations.handlers.mongodb_handler import Handler
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
label_desc: Use image node_id 2 for calling the DocumentDBHandler obj's underlying member method code with example usage: obj.connect() and returns: self