Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def import_log_csv(path):
return conversion_factory.apply(
import_event_stream(path), # https://pm4py.fit.fraunhofer.de/documentation/1.2
parameters={constants.PARAMETER_CONSTANT_CASEID_KEY: "case:concept:name", # this tells the importer
constants.PARAMETER_CONSTANT_ACTIVITY_KEY: "concept:name", # how to parse the csv
constants.PARAMETER_CONSTANT_TIMESTAMP_KEY: "time:timestamp"} # and which are the caseID
) # concept name and timestamp