swimlane.core.fields.comment module

class swimlane.core.fields.comment.CommentCursor(field, initial_elements=None)[source]

Bases: FieldCursor

Returned by CommentField to allow iteration and creation of Comment instances

comment(message, rich_text=False)[source]

Add new comment to record comment field

class swimlane.core.fields.comment.CommentsField(*args, **kwargs)[source]

Bases: ReadOnly, CursorField

bulk_modify_support = False
cursor_class

alias of CommentCursor

field_type = ('Core.Models.Fields.CommentsField, Core', 'Core.Models.Fields.Comments.CommentsField, Core')
get_initial_elements()[source]

Return initial elements to be passed with cursor instantiation