code: def test_get_action_sequence_removes_currying_for_all_wikitables_functions(
      self,
  ):
      # minus
      logical_form = "(- (number 0) (number 1))"
      parsed_logical_form = self.world.parse_logical_form(logical_form)
      action_sequence = self.world.get_action_sequence(
          parsed_logical_form
      )
      assert "n -> [<n,<n,n>>, n, n]" in action_sequence
  
      # date
      logical_form = "(count (fb:cell.cell.date (date 2000 -1 -1)))"
      parsed_logical_form = self.world.parse_logical_form(logical_form)
      action_sequence = self.world.get_action_sequence(
          parsed_logical_form
      )
      assert "d -> [<n,<n,<n,d>>>, n, n, n]" in action_sequence
  
      # argmax
      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 = self.world.parse_logical_form(logical_form)
      action_sequence = self.world.get_action_sequence(
          parsed_logical_form
      )
      assert (
          "r -> [<n,<n,<#1,<<#2,#1>,#1>>>>, n, n, r, <n,r>]"
          in action_sequence
      )
  
      # and
      logical_form = "(and (number 1) (number 1))"
      parsed_logical_form = self.world.parse_logical_form(logical_form)
      action_sequence = self.world.get_action_sequence(
          parsed_logical_form
      )
      assert "n -> [<#1,<#1,#1>>, n, n]" in action_sequence
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  import pytest
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers import Token
  from allennlp.semparse import ParsingError
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
  from allennlp.semparse.worlds import WikiTablesWorld
label_desc: Use image node_id 6 for calling the TestWikiTablesWorld obj's underlying member method code with example usage: obj.test_get_action_sequence_removes_currying_for_all_wikitables_functions() without return types