pm4py.ocel.ocel_get_object_types#
- pm4py.ocel.ocel_get_object_types(ocel: OCEL) List[str] [source]#
Returns the list of object types contained in the object-centric event log (e.g., [“order”, “item”, “delivery”]).
- Parameters:
ocel (OCEL) – Object-centric event log.
- Returns:
List of object types.
- Return type:
List[str]
import pm4py object_types = pm4py.ocel_get_object_types(ocel)