def version(self):
ver = Version()<EOL>ver.conn = self.conn<EOL>ver.attrs = {<EOL>'<STR_LIT>': self.attrs['<STR_LIT:id>'],<EOL>}<EOL>ver.save()<EOL>return ver<EOL>
Create a new version under this service.