def get_user(session, user_id):
try:<EOL><INDENT>user_id = int(user_id)<EOL><DEDENT>except ValueError:<EOL><INDENT>user_id = find_user(session, user_id)<EOL><DEDENT>resp = _make_request(session, USER_URL, user_id)<EOL>if not resp:<EOL><INDENT>raise VooblyError('<STR_LIT>')<EOL><DEDENT>return resp[<NUM_LIT:0>]<EOL>
Get user.