<s> from pyramid . view import view_config <EOL> from pyramid . config import Configurator <EOL> @ view_config ( route_name = '<STR_LIT>' , renderer = '<STR_LIT>' ) <EOL> def json ( request ) : <EOL> return { '<STR_LIT:message>' : '<STR_LIT>' } <EOL> config = Configurator ( ) <EOL> config . add_route ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> config . scan ( ) <EOL> app = config . make_wsgi_app ( ) </s>
