<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_volume_details(self, volume_name: str) -> dict: """Get details of the volume. Args: volume_name (str):
 Name of the volume Returns: dict, details of the volume """

        if volume_name not in self.volumes:
            raise RuntimeError('No such volume found: ', volume_name)

        volume = self._client.volumes.get(volume_name)
        return volume.attrs