def update_asset(self, name, label="<STR_LIT>"):
assert isinstance(name, (str, unicode)), name<EOL>assert isinstance(label, (str, unicode)), label<EOL>post_parameters = {<EOL>"<STR_LIT:name>": name,<EOL>"<STR_LIT:label>": label<EOL>}<EOL>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.url,<EOL>input=post_parameters<EOL>)<EOL>return GitReleaseAsset(self._requester, headers, data, completed=True)<EOL>
Update asset metadata.
:rtype: github.GitReleaseAsset.GitReleaseAsset