code: def add_connection(self, host):
          
          self.hosts.append(host)
          self.set_connections(self.hosts)
docs: Create a new :class:`~elasticsearch.Connection` instance and add it to the pool.
  
          :arg host: kwargs that will be used to create the instance