code: def connect(
      uri=None,
      user=None,
      password=None,
      host=None,
      port=9091,
      database=None,
      protocol='binary',
      execution_type=EXECUTION_TYPE_CURSOR,
  ):
      
      client = MapDClient(
          uri=uri,
          user=user,
          password=password,
          host=host,
          port=port,
          database=database,
          protocol=protocol,
          execution_type=execution_type,
      )
  
      if options.default_backend is None:
          options.default_backend = client
  
      return client
docs: Create a MapDClient for use with Ibis
  
      Parameters could be
  
      :param uri: str
      :param user: str
      :param password: str
      :param host: str
      :param port: int
      :param database: str
      :param protocol: str
      :param execution_type: int
      Returns
      -------
      MapDClient