nodes: 0, module; 1, function_definition; 2, function_name:build_from_info; 3, parameters; 4, block; 5, identifier:cls; 6, identifier:info; 7, expression_statement; 8, expression_statement; 9, for_statement; 10, return_statement; 11, comment:"""build a TensorTerm instance from a dict
  
          Parameters
          ----------
          cls : class
  
          info : dict
              contains all information needed to build the term
  
          Return
          ------
          TensorTerm instance
          """; 12, assignment; 13, identifier:term_info; 14, subscript; 15, block; 16, call; 17, identifier:terms; 18, list; 19, identifier:info; 20, string; 21, expression_statement; 22, identifier:cls; 23, argument_list; 24, string_content:terms; 25, call; 26, list_splat; 27, attribute; 28, argument_list; 29, identifier:terms; 30, identifier:terms; 31, identifier:append; 32, call; 33, attribute; 34, argument_list; 35, identifier:SplineTerm; 36, identifier:build_from_info; 37, identifier:term_info
code: def build_from_info(cls, info):
          """build a TensorTerm instance from a dict
  
          Parameters
          ----------
          cls : class
  
          info : dict
              contains all information needed to build the term
  
          Return
          ------
          TensorTerm instance
          """
          terms = []
          for term_info in info['terms']:
              terms.append(SplineTerm.build_from_info(term_info))
          return cls(*terms)