fix: forward-ref

This commit is contained in:
Yeuoly 2024-03-11 21:58:54 +08:00 committed by takatost
parent 2c2b9e7389
commit b102562614
1 changed files with 1 additions and 1 deletions

View File

@ -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