mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-04 13:45:13 +00:00
let restricted script engine use random
This commit is contained in:
parent
d91f0dcca8
commit
420e9e32a8
@ -5,6 +5,7 @@ import decimal
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import random
|
||||
import re
|
||||
import time
|
||||
import uuid
|
||||
@ -319,6 +320,7 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore
|
||||
"uuid": uuid,
|
||||
"min": min,
|
||||
"max": max,
|
||||
"random": random,
|
||||
**JinjaHelpers.get_helper_mapping(),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user