mirror of
https://github.com/langgenius/dify.git
synced 2026-04-02 21:12:11 +08:00
fix: forward-ref
This commit is contained in:
parent
a5394fa2ce
commit
5fac4f8737
@ -12,7 +12,7 @@ class CodeNodeData(BaseNodeData):
|
||||
"""
|
||||
class Output(BaseModel):
|
||||
type: Literal['string', 'number', 'object', 'array[string]', 'array[number]']
|
||||
children: Optional[dict[str, 'CodeNodeData.Output']]
|
||||
children: Optional[dict[str, 'Output']]
|
||||
|
||||
variables: list[VariableSelector]
|
||||
answer: str
|
||||
|
||||
Loading…
Reference in New Issue
Block a user