pm4py.ocel.ocel_get_object_types#

pm4py.ocel.ocel_get_object_types(ocel: OCEL) List[str][source]#

Gets the list of object types contained in the object-centric event log (e.g., [“order”, “item”, “delivery”]).

Parameters:

ocel (OCEL) – object-centric event log

Return type:

List[str]

import pm4py

object_types = pm4py.ocel_get_object_types(ocel)