peony/client.py
async def close(self):
        """ properly close the client """
        tasks = self._get_close_tasks()

        if tasks:
            await asyncio.wait(tasks)

        self._session = None
async def close(self):
        """ properly close the client """
        tasks = self._get_close_tasks()

        if tasks:
            await asyncio.wait(tasks)

        self._session = None
async def close ( self ) : tasks = self . _get_close_tasks ( ) if tasks : await asyncio . wait ( tasks ) self . _session = None
properly close the client
properly close the client