code: def visit_conditional(self, node):
      conditional, stable = conditional_lhs(node)
  
      if not stable:
          return
  
      bgather = GatherAssignments()
      for stmnt in node.body:
          bgather.visit(stmnt)
  
      egather = GatherAssignments()
      for stmnt in node.orelse:
          egather.visit(stmnt)
  
      for symbol in stable:
          node_list = self.assign_id_map.setdefault(symbol, [])
          assignments = []
  
          for asgn_list in bgather.assign_id_map[symbol]:
              assignments.extend(asgn_list.assignments)
          for asgn_list in egather.assign_id_map[symbol]:
              assignments.extend(asgn_list.assignments)
  
          node_list.append(
              Assignment(root=node, assignments=assignments)
          )
  
file_path: turicreate/src/python/turicreate/meta/asttools/mutators/remove_trivial.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import _ast
  import ast
  from ...asttools.visitors.graph_visitor import GraphGen
  from ...asttools import Visitor, dont_visit, visit_children
  from ...asttools.mutators.replace_mutator import replace_nodes
  from ...asttools.visitors.symbol_visitor import get_symbols
  from ...asttools.visitors.cond_symbol_visitor import conditional_lhs
label_desc: Use image node_id 1 for calling a global function with example usage: visit_conditional(node) without return types