<s> from flask import Flask <EOL> from requests import JSONRPCRequest <EOL> from views import json_echo , echo <EOL> from method_views import JSONEchoView <EOL> Flask . request_class = JSONRPCRequest <EOL> def create_app ( ) : <EOL> app = Flask ( "<STR_LIT>" ) <EOL> app . config . from_pyfile ( "<STR_LIT>" ) <EOL> app . register_blueprint ( json_echo , url_prefix = "<STR_LIT>" ) <EOL> app . add_url_rule ( <EOL> "<STR_LIT>" , view_func = JSONEchoView . as_view ( "<STR_LIT>" ) ) <EOL> return app </s>
