why not dict, too
This commit is contained in:
parent
769cc4126c
commit
9fb490c7f9
|
@ -2,6 +2,10 @@
|
||||||
import re
|
import re
|
||||||
from os import environ
|
from os import environ
|
||||||
|
|
||||||
|
# Consider: https://flask.palletsprojects.com/en/2.2.x/config/#configuring-from-environment-variables
|
||||||
|
# and from_prefixed_env(), though we want to ensure that these variables are all documented, so that
|
||||||
|
# is a benefit of the status quo and having them all in this file explicitly.
|
||||||
|
|
||||||
SPIFFWORKFLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR = environ.get(
|
SPIFFWORKFLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR = environ.get(
|
||||||
"SPIFFWORKFLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR"
|
"SPIFFWORKFLOW_BACKEND_BPMN_SPEC_ABSOLUTE_DIR"
|
||||||
)
|
)
|
||||||
|
|
|
@ -293,6 +293,7 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore
|
||||||
"enumerate": enumerate,
|
"enumerate": enumerate,
|
||||||
"format": format,
|
"format": format,
|
||||||
"list": list,
|
"list": list,
|
||||||
|
"dict": dict,
|
||||||
"map": map,
|
"map": map,
|
||||||
"pytz": pytz,
|
"pytz": pytz,
|
||||||
"sum": sum,
|
"sum": sum,
|
||||||
|
|
Loading…
Reference in New Issue