<s> from bottle import Bottle <EOL> from biicode . server . rest . basic_http_auth_bottle import BasicHttpAuthBottle <EOL> from biicode . server . rest . bson_bottle import BsonBottle <EOL> class restV2 ( BasicHttpAuthBottle ) : <EOL> store = None <EOL> def set_store ( self , store ) : <EOL> self . store = store <EOL> app = restV2 ( ) <EOL> @ app . route ( '<STR_LIT>' , method = "<STR_LIT:GET>" ) <EOL> @ app . route ( '<STR_LIT>' , method = "<STR_LIT:GET>" ) <EOL> def whatVersion ( ) : <EOL> return "<STR_LIT>" + str ( app . store ) </s>
