async def connect(self):
        """Create connection pool asynchronously.
        """
        self.pool = await aiopg.create_pool(
            loop=self.loop,
            timeout=self.timeout,
            database=self.database,
            **self.connect_params)
async def connect ( self ) : self . pool = await aiopg . create_pool ( loop = self . loop , timeout = self . timeout , database = self . database , ** self . connect_params )
Create connection pool asynchronously.