mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 07:14:14 +00:00
fix: forward-ref
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user