pm4py.read.read_bpmn#
- pm4py.read.read_bpmn(file_path: str, encoding: str = 'utf-8') BPMN[source]#
Reads a BPMN model from a .bpmn file.
- Parameters:
file_path (
str) – Path/URI to the BPMN model file.encoding (
str) – Encoding to be used (default: utf-8).
- Return type:
BPMN
import pm4py bpmn = pm4py.read_bpmn('<path_or_uri_to_bpmn_file>')