code: def from_config(cls, config: dict):
          
          timestamp = config.get('timestamp', None)
          return cls(config.get('id'),
                     config.get('type'),
                     config.get('data', dict()),
                     config.get('origin', None),
                     timestamp,
                     config.get('object_type', None),
                     config.get('object_id', None),
                     config.get('object_key', None))
docs: Create an event object from an event dictionary object.
  
          Args:
              config (dict): Event Configuration dictionary.