code: def connect(self, client: BasicClient, *args, **kwargs):
          
          self.clients.add(client)
          self.connect_args[client] = (args, kwargs)
          # hack the clients event loop to use the pools own event loop
          client.eventloop = self.eventloop
docs: Add client to pool.