swimlane.core.fields.comment module

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

Bases: swimlane.core.fields.base.cursor.FieldCursor

Returned by CommentField to allow iteration and creation of Comment instances

comment(message)[source]

Add new comment to record comment field

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

Bases: swimlane.core.fields.base.ReadOnly, swimlane.core.fields.base.cursor.CursorField

cursor_class

alias of CommentCursor

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