code: def get_hp_names(self, node):
      if node.is_leaf():
          return [node.hp_name]
      ret = []
      for key, value in node.children.items():
          ret += self.get_hp_names(value)
      return ret
  
imports: import copy
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Optional
  import keras_tuner
  import numpy
  from autokeras.engine import tuner
label_desc: Use image node_id 5 for calling the Trie obj's underlying member method code with example usage: obj.get_hp_names(node) and returns: ret, list