class_docstr: Defines a container of event triggers' metadata.
class_docstr_tok: ["Defines","a","container","of","event","triggers","'","metadata","."]
docstr: The corresponding `Run` object if the triggering event is a Metaflow run.
  
  In case multiple runs triggered the run, this property is the latest run.
  Returns `None` if none of the triggering events are a `Run`.
  
  Returns
  -------
  Run, optional
      Latest Run that triggered this run, if applicable.
docstr_tok: ["The","corresponding","`","Run","`","object","if","the","triggering","event","is","a","Metaflow","run",".","In","case","multiple","runs","triggered","the","run",",","this","property","is","the","latest","run",".","Returns","`","None","`","if","none","of","the","triggering","events","are","a","`","Run","`",".","Returns","--","--","--","-","Run",",","optional","Latest","Run","that","triggered","this","run",",","if","applicable","."]
code: def run(self):
      """
      The corresponding `Run` object if the triggering event is a Metaflow run.
  
      In case multiple runs triggered the run, this property is the latest run.
      Returns `None` if none of the triggering events are a `Run`.
  
      Returns
      -------
      Run, optional
          Latest Run that triggered this run, if applicable.
      """
      if self._runs is None:
          self.runs
      return next(iter(self._runs), None)
  
file_path: metaflow/metaflow/events.py
imports: from collections import OrderedDict, namedtuple
  from datetime import datetime
label_desc: Use image node_id 5 for calling the Trigger obj's underlying member method code with example usage: obj.run() and returns: next