fix: workflow and graphical editor tests failed
This commit is contained in:
parent
ab48aaea3c
commit
4ed9b605fc
2 changed files with 11 additions and 1 deletions
|
|
@ -64,6 +64,16 @@ class MethodContext(MethodBase):
|
|||
dynamicMode=True,
|
||||
outputType="UdmDocument",
|
||||
parameters={
|
||||
"context": WorkflowActionParameter(
|
||||
name="context",
|
||||
type="Any",
|
||||
frontendType=FrontendType.CONTEXT_BUILDER,
|
||||
required=False,
|
||||
description=(
|
||||
"Optional context payload that may contain file/document references. "
|
||||
"Preferred input for extractContent; documentList remains supported for compatibility."
|
||||
),
|
||||
),
|
||||
"documentList": WorkflowActionParameter(
|
||||
name="documentList",
|
||||
type="DocumentList",
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ def test_context_extractContent_node_shape():
|
|||
assert "LoopItem" in node["inputPorts"][0]["accepts"]
|
||||
names = [p["name"] for p in node["parameters"]]
|
||||
assert names == [
|
||||
"documentList",
|
||||
"context",
|
||||
"contentFilter",
|
||||
"outputMode",
|
||||
"splitBy",
|
||||
|
|
|
|||
Loading…
Reference in a new issue