class_docstr: Defines a container of event triggers' metadata.
class_docstr_tok: ["Defines","a","container","of","event","triggers","'","metadata","."]
docstr: The list of `Run` objects in the triggering events.
  Returns `None` if none of the triggering events are `Run` objects.
  
  Returns
  -------
  List[Run], optional
      List of runs that triggered this run, if applicable.
docstr_tok: ["The","list","of","`","Run","`","objects","in","the","triggering","events",".","Returns","`","None","`","if","none","of","the","triggering","events","are","`","Run","`","objects",".","Returns","--","--","--","-","List","[","Run","]",",","optional","List","of","runs","that","triggered","this","run",",","if","applicable","."]
code: def runs(self):
      """
      The list of `Run` objects in the triggering events.
      Returns `None` if none of the triggering events are `Run` objects.
  
      Returns
      -------
      List[Run], optional
          List of runs that triggered this run, if applicable.
      """
      if self._runs is None:
          # to avoid circular import
          from metaflow import Run
  
          self._runs = [
              Run(
                  # object id is the task pathspec for events that map to run
                  obj.id[: obj.id.index("/", obj.id.index("/") + 1)],
                  _namespace_check=False,
              )
              for obj in self._events
              if obj.type == "run"
          ]
  
      return list(self._runs) or None
  
file_path: metaflow/metaflow/events.py
imports: from collections import OrderedDict, namedtuple
  from datetime import datetime
label_desc: Use image node_id 6 for calling the Trigger obj's underlying member method code with example usage: obj.runs() and returns: unknown