(self)
return self._value.contents
Returns a bytestring representing the contents of the asset.
Returns a bytestring representing the contents of the asset.
Returns a bytestring representing the contents of the asset .
def get_contents(self):
    """Returns a bytestring representing the contents of the asset."""
    if self._value is None:
      raise RuntimeError('You must assign a value to this attribute before '
                         'querying the contents.')
    return self._value.contents
def get_contents ( self ) : if self . _value is None : raise RuntimeError ( 'You must assign a value to this attribute before ' 'querying the contents.' ) return self . _value . contents