-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.py
More file actions
27 lines (19 loc) · 860 Bytes
/
Copy pathexample.py
File metadata and controls
27 lines (19 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import sys
import os
# Set PYTHONPATH to current directory so nativebpm can be imported
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
from examples import workflow_wasm, workflow_with_wasm_plugins
def main():
print("==================================================")
print("🚀 RUNNING NATIVEBPM PYTHON SDK EXAMPLES")
print("==================================================")
# 1. Run WASM-based Workflow example
workflow_wasm.main()
print("\n--------------------------------------------------\n")
# 2. Run Workflow with WASM plugins example
workflow_with_wasm_plugins.main()
print("==================================================")
print("🎉 ALL EXAMPLES FINISHED")
print("==================================================")
if __name__ == '__main__':
main()