<s> """<STR_LIT>""" <EOL> import tw2 . core as twc , tw2 . forms as twf <EOL> class Index ( twc . Page ) : <EOL> title = '<STR_LIT>' <EOL> class child ( twf . GridLayout ) : <EOL> extra_reps = <NUM_LIT:0> <EOL> id = twf . LinkField ( link = '<STR_LIT>' , text = '<STR_LIT>' , label = None ) <EOL> a = twf . LabelField ( ) <EOL> b = twf . LabelField ( ) <EOL> def fetch_data ( self , req ) : <EOL> self . value = [ { '<STR_LIT:id>' : <NUM_LIT:1> , '<STR_LIT:a>' : '<STR_LIT>' , '<STR_LIT:b>' : '<STR_LIT>' } , { '<STR_LIT:id>' : <NUM_LIT:2> , '<STR_LIT:a>' : '<STR_LIT>' , '<STR_LIT:b>' : '<STR_LIT>' } ] <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> import wsgiref . simple_server as wrs <EOL> wrs . make_server ( '<STR_LIT>' , <NUM_LIT> , twc . make_middleware ( controller_prefix = '<STR_LIT:/>' ) ) . serve_forever ( ) </s>
