diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/config/default.py b/spiffworkflow-backend/src/spiffworkflow_backend/config/default.py index d16dcd91..a08ef3e0 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/config/default.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/config/default.py @@ -2,6 +2,10 @@ import re 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" ) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py index 5aabe5ac..a579f554 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -293,6 +293,7 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore "enumerate": enumerate, "format": format, "list": list, + "dict": dict, "map": map, "pytz": pytz, "sum": sum,