nodes: 0, module; 1, function_definition; 2, function_name:_parse_raw_members; 3, parameters; 4, block; 5, identifier:self; 6, identifier:leaderboard_name; 7, identifier:members; 8, default_parameter; 9, dictionary_splat_pattern; 10, expression_statement; 11, if_statement; 12, if_statement; 13, identifier:members_only; 14, False; 15, identifier:options; 16, string; 17, identifier:members_only; 18, block; 19, identifier:members; 20, block; 21, else_clause; 22, string_content:Parse the raw leaders data as returned from a given leader board query. Do associative
          lookups with the member to rank, score and potentially sort the results.
  
          @param leaderboard_name [String] Name of the leaderboard.
          @param members [List] A list of members as returned from a sorted set range query
          @param members_only [bool] Set True to return the members as is, Default is False.
          @param options [Hash] Options to be used when retrieving the page from the named leaderboard.
          @return a list of members.; 23, return_statement; 24, return_statement; 25, block; 26, list_comprehension; 27, call; 28, return_statement; 29, dictionary; 30, for_in_clause; 31, attribute; 32, argument_list; 33, list; 34, pair; 35, identifier:m; 36, identifier:members; 37, identifier:self; 38, identifier:ranked_in_list_in; 39, identifier:leaderboard_name; 40, identifier:members; 41, dictionary_splat; 42, attribute; 43, identifier:m; 44, identifier:options; 45, identifier:self; 46, identifier:MEMBER_KEY
code: def _parse_raw_members(
              self, leaderboard_name, members, members_only=False, **options):
          '''
          Parse the raw leaders data as returned from a given leader board query. Do associative
          lookups with the member to rank, score and potentially sort the results.
  
          @param leaderboard_name [String] Name of the leaderboard.
          @param members [List] A list of members as returned from a sorted set range query
          @param members_only [bool] Set True to return the members as is, Default is False.
          @param options [Hash] Options to be used when retrieving the page from the named leaderboard.
          @return a list of members.
          '''
          if members_only:
              return [{self.MEMBER_KEY: m} for m in members]
  
          if members:
              return self.ranked_in_list_in(leaderboard_name, members, **options)
          else:
              return []