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
def get_volume_details ( self , volume_name : str ) -> dict : 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
Get details of the volume.

        Args:
            volume_name (str): Name of the volume

        Returns:
            dict, details of the volume