def build_from_info(cls, info):
        """build a TermList instance from a dict

        Parameters
        ----------
        cls : class

        info : dict
            contains all information needed to build the term

        Return
        ------
        TermList instance
        """
        info = deepcopy(info)
        terms = []
        for term_info in info['terms']:
            terms.append(Term.build_from_info(term_info))
        return cls(*terms)
def build_from_info ( cls , info ) : info = deepcopy ( info ) terms = [ ] for term_info in info [ 'terms' ] : terms . append ( Term . build_from_info ( term_info ) ) return cls ( * terms )
build a TermList instance from a dict

        Parameters
        ----------
        cls : class

        info : dict
            contains all information needed to build the term

        Return
        ------
        TermList instance