code: def from_datatree(datatree):
      """Create an InferenceData object from a :class:`~datatree.DataTree`.
  
      Parameters
      ----------
      datatree : DataTree
      """
      return InferenceData.from_datatree(datatree)
  
label_desc: Use image node_id 2 for calling a global function with example usage: from_datatree(datatree) and returns: InferenceData