fix: not able to pass array of string/number/object into variable aggregator groups (#7757)

This commit is contained in:
Leheng Lu 2024-08-28 17:25:20 +08:00 committed by GitHub
parent 7541a492b7
commit 5d0914daea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ class AdvancedSettings(BaseModel):
""" """
Group. Group.
""" """
output_type: Literal['string', 'number', 'array', 'object'] output_type: Literal['string', 'number', 'object', 'array[string]', 'array[number]', 'array[object]']
variables: list[list[str]] variables: list[list[str]]
group_name: str group_name: str
@ -30,4 +30,4 @@ class VariableAssignerNodeData(BaseNodeData):
type: str = 'variable-assigner' type: str = 'variable-assigner'
output_type: str output_type: str
variables: list[list[str]] variables: list[list[str]]
advanced_settings: Optional[AdvancedSettings] = None advanced_settings: Optional[AdvancedSettings] = None