code: def _translate(teleport_value):
      
      if isinstance(teleport_value, dict):
          return _translate_composite(teleport_value)
  
      if teleport_value in PRIMITIVES:
          return PRIMITIVES[teleport_value]
  
      raise DeserializationError(
          "Could not interpret %r as a teleport schema." % teleport_value)
docs: Translate a teleport value in to a val subschema.