23
23
def show(self, request, volume_type, brief=False):
24
24
"""Trim away extraneous volume type attributes."""
25
25
trimmed = dict(id=volume_type.get('id'),
28
28
return trimmed if brief else dict(volume_type=trimmed)
30
30
def index(self, request, volume_types):