mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-29 19:25:50 +00:00
Merge remote-tracking branch 'origin/main' into new_report
This commit is contained in:
commit
de29278c79
2
spiffworkflow-backend/poetry.lock
generated
2
spiffworkflow-backend/poetry.lock
generated
@ -1851,7 +1851,7 @@ lxml = "*"
|
|||||||
type = "git"
|
type = "git"
|
||||||
url = "https://github.com/sartography/SpiffWorkflow"
|
url = "https://github.com/sartography/SpiffWorkflow"
|
||||||
reference = "main"
|
reference = "main"
|
||||||
resolved_reference = "bba7ddf5478af579b891ca63c50babbfccf6b7a4"
|
resolved_reference = "062eaf15d28c66f8cf07f68409429560251b12c7"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "SQLAlchemy"
|
name = "SQLAlchemy"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
"""Get_env."""
|
"""Save process instance metadata."""
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from flask_bpmn.models.db import db
|
from flask_bpmn.models.db import db
|
||||||
|
@ -178,9 +178,9 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore
|
|||||||
)
|
)
|
||||||
return Script.generate_augmented_list(script_attributes_context)
|
return Script.generate_augmented_list(script_attributes_context)
|
||||||
|
|
||||||
def evaluate(self, task: SpiffTask, expression: str) -> Any:
|
def evaluate(self, task: SpiffTask, expression: str, external_methods=None) -> Any:
|
||||||
"""Evaluate."""
|
"""Evaluate."""
|
||||||
return self._evaluate(expression, task.data, task)
|
return self._evaluate(expression, task.data, task, external_methods)
|
||||||
|
|
||||||
def _evaluate(
|
def _evaluate(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user