pm4py.objects.log.util.move_attrs_to_trace module#
- class pm4py.objects.log.util.move_attrs_to_trace.Parameters(*values)[source]#
Bases:
Enum- ENABLE_DEEPCOPY = 'enable_deepcopy'#
- pm4py.objects.log.util.move_attrs_to_trace.apply(log: EventLog, parameters: Dict[str | Parameters, Any] | None = None) EventLog[source]#
Moves the attributes that are constant for all the events of the trace, and they do not belong to a standard extension, to the trace level
- Parameters:
log – Event log
parameters – Parameters of the algorithm, including: - Parameters.DEEPCOPY => enables the deepcopy of the event log
- Returns:
Event log, where some attribute has been possibly moved from the event to the trace level
- Return type:
log