code: def __init__(self, eventDates):
      self.__dates = eventDates
  
file_path: pyalgotrade/testcases/eventprofiler_test.py
imports: import datetime
  from .None import common
  from pyalgotrade import eventprofiler
  from pyalgotrade.barfeed import yahoofeed
label_desc: Use image node_id 1 to create a new Predicate object from inherited base classes: eventprofiler with example: obj = Predicate(eventDates)