<s> from wtforms . fields import StringField as _StringField <EOL> from wtforms . fields import html5 <EOL> from . . widgets import ( <EOL> DateInput , <EOL> DateTimeInput , <EOL> DateTimeLocalInput , <EOL> EmailInput , <EOL> NumberInput , <EOL> RangeInput , <EOL> SearchInput , <EOL> TextInput <EOL> ) <EOL> class EmailField ( _StringField ) : <EOL> widget = EmailInput ( ) <EOL> class IntegerField ( html5 . IntegerField ) : <EOL> widget = NumberInput ( step = '<STR_LIT:1>' ) <EOL> class DecimalField ( html5 . DecimalField ) : <EOL> widget = NumberInput ( step = '<STR_LIT>' ) <EOL> class DateTimeLocalField ( html5 . DateTimeField ) : <EOL> def __init__ ( <EOL> self , <EOL> label = None , <EOL> validators = None , <EOL> format = '<STR_LIT>' , <EOL> ** kwargs <EOL> ) : <EOL> super ( DateTimeLocalField , self ) . __init__ ( <EOL> label , <EOL> validators , <EOL> format , <EOL> ** kwargs <EOL> ) <EOL> widget = DateTimeLocalInput ( ) <EOL> class DateTimeField ( html5 . DateTimeField ) : <EOL> widget = DateTimeInput ( ) <EOL> class DateField ( html5 . DateField ) : <EOL> widget = DateInput ( ) <EOL> class IntegerSliderField ( html5 . IntegerRangeField ) : <EOL> widget = RangeInput ( step = '<STR_LIT:1>' ) <EOL> class DecimalSliderField ( html5 . DecimalRangeField ) : <EOL> widget = RangeInput ( step = '<STR_LIT>' ) <EOL> class SearchField ( html5 . SearchField ) : <EOL> widget = SearchInput ( ) <EOL> class StringField ( _StringField ) : <EOL> widget = TextInput ( ) </s>
