code: def __init__(self, initial_values=None):
      if initial_values:
          self.__dict__.update(initial_values)
  
imports: from warnings import warn
  import pandas
  from .assets import Asset
  from .utils.enum import enum
  from ._protocol import BarData, InnerPosition
label_desc: Use image node_id 1 to create a new Event object from inherited base classes: object with example: obj = Event(initial_values)