mirror of
https://github.com/langgenius/dify.git
synced 2026-03-12 10:38:54 +08: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