from flask_wtf import FlaskForm
from wtforms import SubmitField, TextAreaField
from wtforms.validators import DataRequired


class CommentForm(FlaskForm):
    text = TextAreaField("Text", validators=[DataRequired()])
    submit = SubmitField('Publish')

[((230, 252), 'wtforms.SubmitField', 'SubmitField', (['"""Publish"""'], {}), "('Publish')\n", (241, 252), False, 'from wtforms import SubmitField, TextAreaField\n'), ((200, 214), 'wtforms.validators.DataRequired', 'DataRequired', ([], {}), '()\n', (212, 214), False, 'from wtforms.validators import DataRequired\n')]