<s> import wtforms <EOL> import flask_wtf <EOL> import requests <EOL> class WebAPI ( flask_wtf . Form ) : <EOL> pass <EOL> def text_input ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> text_input = wtforms . TextAreaField ( * args , ** kwargs ) <EOL> text_input . input_type = '<STR_LIT:text>' <EOL> return text_input <EOL> def list_input ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> list_input = wtforms . TextAreaField ( * args , ** kwargs ) <EOL> list_input . input_type = '<STR_LIT:list>' <EOL> return list_input <EOL> def line_input ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> line_input = wtforms . TextField ( * args , ** kwargs ) <EOL> line_input . input_type = '<STR_LIT>' <EOL> return line_input <EOL> def password_input ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> password_input = wtforms . PasswordField ( * args , ** kwargs ) <EOL> password_input . input_type = '<STR_LIT:password>' <EOL> return password_input <EOL> def radio_field ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> radio_field = wtforms . RadioField ( * args , ** kwargs ) <EOL> radio_field . input_type = '<STR_LIT>' <EOL> return radio_field <EOL> def submit_button ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> submit_button = wtforms . SubmitField ( * args , ** kwargs ) <EOL> submit_button . input_type = '<STR_LIT>' <EOL> return submit_button <EOL> def multiple_input ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> multiline_input = wtforms . SelectMultipleField ( * args , ** kwargs ) <EOL> multiline_input . input_type = '<STR_LIT>' <EOL> return multiline_input <EOL> def checkbox_field ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> checkbox_field = wtforms . BooleanField ( * args , ** kwargs ) <EOL> checkbox_field . input_type = '<STR_LIT>' <EOL> return checkbox_field <EOL> def file_field ( * args , ** kwargs ) : <EOL> '''<STR_LIT>''' <EOL> file_field = wtforms . FileField ( * args , ** kwargs ) <EOL> file_field . input_type = '<STR_LIT>' <EOL> return file_field <EOL> class PassHTTPAuthorizationHeader ( requests . auth . AuthBase ) : <EOL> '''<STR_LIT>''' <EOL> def __init__ ( self , header ) : <EOL> self . header = header <EOL> def __call__ ( self , r ) : <EOL> r . headers [ '<STR_LIT>' ] = self . header <EOL> return r </s>
