code: def list_data(parameter: core.Parameter) -> tp.List[pdata.Data]:
      """List all the Data instances involved as parameter (not as subparameter/
      endogeneous parameter) in the order they are defined in the standardized data.
  
      Parameter
      ---------
      parameter: Parameter
          the parameter to inspect
      """
      return [
          x
          for _, x in flatten(parameter, order=0)
          if isinstance(x, pdata.Data)
      ]
  
imports: import warnings
  import contextlib
  import itertools
  import numpy
  import nevergrad.common.typing
  from .None import core
  from .None import container
  from .None import _layering
  from .None import _datalayers
  from .None import data
  from .None import choice
  from .None import transforms
label_desc: Use image node_id 2 for calling a global function with example usage: list_data(parameter) and returns: unknown