why not dict, too

This commit is contained in:
burnettk 2023-02-22 14:36:26 -05:00
parent 769cc4126c
commit 9fb490c7f9
2 changed files with 5 additions and 0 deletions

View File

@ -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"
) )

View File

@ -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,