Get a list of resources.

        :raises PvApiError when an error occurs.

async def get_resources(self, **kwargs) -> dict:
        """Get a list of resources.

        :raises PvApiError when an error occurs.
        """
        resources = await self.request.get(self._base_path, **kwargs)
        self._sanitize_resources(resources)
        return resources