def comment(self, message):
message = str(message)<EOL>sw_repr = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': self._record._swimlane.user.as_usergroup_selection(),<EOL>'<STR_LIT>': pendulum.now().to_rfc3339_string(),<EOL>'<STR_LIT:message>': message<EOL>}<EOL>comment = Comment(self._swimlane, sw_repr)<EOL>self._elements.append(comment)<EOL>self._record._raw['<STR_LIT>'].setdefault(self._field.id, [])<EOL>self._record._raw['<STR_LIT>'][self._field.id].append(comment._raw)<EOL>return comment<EOL>
Add new comment to record comment field