def refresh(self):
asset = self.blockchain.rpc.get_asset(self.identifier)<EOL>if not asset:<EOL><INDENT>raise AssetDoesNotExistsException(self.identifier)<EOL><DEDENT>super(Asset, self).__init__(asset, blockchain_instance=self.blockchain)<EOL>if self.full:<EOL><INDENT>if "<STR_LIT>" in asset:<EOL><INDENT>self["<STR_LIT>"] = self.blockchain.rpc.get_object(<EOL>asset["<STR_LIT>"]<EOL>)<EOL><DEDENT>self["<STR_LIT>"] = self.blockchain.rpc.get_object(<EOL>asset["<STR_LIT>"]<EOL>)<EOL><DEDENT>
Refresh the data from the API server