def get_assets(self):
<EOL>from ..repository.objects import AssetList<EOL>if not self.is_asset_based_activity():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>url_str = (self._base_url + '<STR_LIT>' +<EOL>self.get_objective()._my_map['<STR_LIT>'] +<EOL>'<STR_LIT>' + '<STR_LIT>'.join(self._my_map['<STR_LIT>']))<EOL>return AssetList(self._load_json(url_str))<EOL>
Gets any assets associated with this activity.

        return: (osid.repository.AssetList) - list of assets
        raise:  IllegalState - is_asset_based_activity() is false
        raise:  OperationFailed - unable to complete request
        compliance: mandatory - This method must be implemented.