from flask_wtf import Form
from wtforms import StringField, SubmitField
from dao.userhelper import UserHelper


class SearchForm(Form):
    user_phone = StringField('User phone: ')
    submit = SubmitField('Search')

    def get_result(self):
        helper = UserHelper()
        return helper.getMessageData(self.text_mes.data)

6c88b7dfa045ca348f36d4424c63b169233cd4e3
<mask token>


class SearchForm(Form):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class SearchForm(Form):
    <mask token>
    <mask token>

    def get_result(self):
        helper = UserHelper()
        return helper.getMessageData(self.text_mes.data)

<mask token>


class SearchForm(Form):
    user_phone = StringField('User phone: ')
    submit = SubmitField('Search')

    def get_result(self):
        helper = UserHelper()
        return helper.getMessageData(self.text_mes.data)

from flask_wtf import Form
from wtforms import StringField, SubmitField
from dao.userhelper import UserHelper


class SearchForm(Form):
    user_phone = StringField('User phone: ')
    submit = SubmitField('Search')

    def get_result(self):
        helper = UserHelper()
        return helper.getMessageData(self.text_mes.data)
