code: 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)f 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))
docs: Deprecated method to construct tree from list of objects