class_docstr: Helper class to assist translating H2O types into native types of your target languages. Typically the user extends
  this class, providing the types dictionary, as well as overwriting any type-conversion lambda-functions.
class_docstr_tok: ["Helper","class","to","assist","translating","H2O","types","into","native","types","of","your","target","languages",".","Typically","the","user","extends","this","class",",","providing","the","types","dictionary",",","as","well","as","overwriting","any","type-conversion","lambda-functions","."]
code: def translate(self, h2o_type, schema, values=None):
      if config["verbose"]:
          self._mem.add((h2o_type, schema))
      if h2o_type.endswith("[][]"):
          return self.make_array2(
              self.translate(h2o_type[:-4], schema, values)
          )
      if h2o_type.endswith("[]"):
          return self.make_array(
              self.translate(h2o_type[:-2], schema, values)
          )
      if h2o_type.startswith("Map<"):
          t1, t2 = h2o_type[4:-1].split(
              ",", 2
          )  # Need to be fixed once we have keys with commas...
          return self.make_map(
              self.translate(t1, schema, values),
              self.translate(t2, schema, values),
          )
      if h2o_type.startswith("Key<"):
          return self.make_key(
              self.translate(h2o_type[4:-1], schema, values), schema
          )
      if h2o_type == "enum":
          return self.make_enum(schema, values)
      if h2o_type in self.types:
          return self.types[h2o_type]
      if schema is None:
          return h2o_type
      return self.translate_object(h2o_type, schema)
  
imports: import argparse
  import atexit
  import codecs
  import errno
  import os
  import platform
  import pprint
  import re
  import requests
  import shutil
  import sys
  import textwrap
  import time
  from collections import defaultdict
label_desc: Use image node_id 2 for calling the TypeTranslator obj's underlying member method code with example usage: obj.translate(h2o_type, schema, values) and returns: self, self, self, self, self, self, self, h2o_type