def get_request_stats():
 return {'ip': get_real_ip(), 'platform': request.user_agent.platform, 'browser': request.user_agent.browser, 'version': request.user_agent.version, 'language': request.user_agent.language}

def get_request_stats ( ) : return { 'ip' : get_real_ip ( ) , 'platform' : request . user_agent . platform , 'browser' : request . user_agent . browser , 'version' : request . user_agent . version , 'language' : request . user_agent . language }
get ip .