mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-16 21:24:19 +00:00
why not dict, too
This commit is contained in:
parent
27cf9d7284
commit
3d5c60b14b
@ -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…
x
Reference in New Issue
Block a user