code: def test_get_action_sequence_removes_currying(self):
      world = self.wikitables_world
      logical_form = (
          "(argmax (number 1) (number 1) (fb:row.row.division fb:cell.2) "
          "(reverse (lambda x ((reverse fb:row.row.index) (var x))))"
      )
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert (
          "r -> [<n,<n,<#1,<<#2,#1>,#1>>>>, n, n, r, <n,r>]"
          in action_sequence
      )
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  import json
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers import Token
  from allennlp.semparse import ParsingError, World
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
  from allennlp.semparse.worlds import NlvrWorld, WikiTablesWorld
  from io import open
label_desc: Use image node_id 4 for calling the TestWorld obj's underlying member method code with example usage: obj.test_get_action_sequence_removes_currying() without return types