def get_initializable_comment_fields(context):
 ret = get_editable_fields(Comment(user_id=context['cc_requester']['id'], type='comment'), context)
 ret |= NON_UPDATABLE_COMMENT_FIELDS
 return ret

def get_initializable_comment_fields ( context ) : ret = get_editable_fields ( Comment ( user_id = context [ 'cc_requester' ] [ 'id' ] , type = 'comment' ) , context ) ret |= NON_UPDATABLE_COMMENT_FIELDS return ret
return the set of fields that the requester can initialize for a comment any field that is editable by the author should also be initializable .