<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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