#NEWLINE# @ staticmethod #NEWLINE# def _x_user_parser( user , data ) : #NEWLINE# #INDENT# _user = data . get ( 'user' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# user . name = ( data . get ( 'fullname' ) or _user . get ( 'username' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . get ( '_content' ) ) #NEWLINE# user . id = ( data . get ( 'user_nsid' ) or _user . get ( 'id' ) ) #NEWLINE# return user