async def get_list(self, list_id: str) -> List:
        """
        Retrieve list by ID.

        Parameters
        ----------
        list_id : :class:`str`
            The ID of the list to retrieve.

        Returns
        -------
        :class:`List`
            List object.
        """
        response, _ = await self.gql.list_by_rest_id(list_id)
        list_data_ = find_dict(response, 'list', find_one=True)
        if not list_data_:
            raise ValueError(f'Invalid list id: {list_id}')
        return List(self, list_data_[0])

        Retrieve list by ID.

        Parameters
        ----------
        list_id : :class:`str`
            The ID of the list to retrieve.

        Returns
        -------
        :class:`List`
            List object.
        
twikit/client/client.py