def FindTypeInfo(self, name):
    """Search for a type_info instance which describes this key."""
    result = self.type_infos.get(name)
    if result is None:
      # Not found, assume string.
      result = type_info.String(name=name, default="")

    return result
def FindTypeInfo ( self , name ) : result = self . type_infos . get ( name ) if result is None : result = type_info . String ( name = name , default = "" ) return result
Search for a type_info instance which describes this key.