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