Exemple #1
0
def get_server_info(auth_user, bson_data):
    """bson_data is currently used only for log user client version etc
    in statistic trough bii_user_trace bottle plugin"""
    service = BiiService(app.store, auth_user)
    server_info = service.get_server_info()
    return  server_info
Exemple #2
0
def test(http_basic_credentials, bson_data, response):
    """DEPRECATED, FOR ALERT USERS FOR UPDATING CLIENT. DELETE IN 2015 OR 1.1"""
    service = BiiService(app.store, http_basic_credentials.user)
    server_info = service.get_server_info()
    return server_info