def from_values(cls, vals):
        "Deprecated method to construct tree from list of objects"
        if util.config.future_deprecations:
            param.main.param.warning("%s.from_values is deprecated, the %s "
                                     "constructor may now be used directly.")
        return cls(items=cls._process_items(vals))
def from_values ( cls , vals ) : if util . config . future_deprecations : param . main . param . warning ( "%s.from_values is deprecated, the %s " "constructor may now be used directly." ) return cls ( items = cls . _process_items ( vals ) )
Deprecated method to construct tree from list of objects