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