Meta Handler is an optional collector of all the events that were happening to the task while being orchestrated by
sosw. In case you create a DynamoDB table
sosw_tasks_meta in your environment,
sosw will start collecting
the meta data automatically. The required schema for the table is described in
The setup script will create the table by default.View Licence Agreement
MetaHandler(custom_config: Dict = None, **kwargs)¶
MetaHandler is helper class for Essential classes. It works with DynamoDB table to store the meta data of operations on Tasks.
post(task_id: str, action: str, **kwargs)¶
Write row with meta data to sosw_tasks_meta DynamoDB Table if configured. As long as collecting the meta data is optional, the
MetaHandlerwill either save it to DynamoDB or just log.