Update field name in FrontendNode class

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-27 12:55:42 -03:00
commit 53af441ec9

View file

@ -49,10 +49,10 @@ class FrontendNode(BaseModel):
"""Icon of the frontend node.""" """Icon of the frontend node."""
is_input: Optional[bool] = None is_input: Optional[bool] = None
"""Whether the frontend node is used as an input when processing the Graph. """Whether the frontend node is used as an input when processing the Graph.
If True, there should be a field named 'message'.""" If True, there should be a field named 'input_value'."""
is_output: Optional[bool] = None is_output: Optional[bool] = None
"""Whether the frontend node is used as an output when processing the Graph. """Whether the frontend node is used as an output when processing the Graph.
If True, there should be a field named 'message'.""" If True, there should be a field named 'input_value'."""
is_composition: Optional[bool] = None is_composition: Optional[bool] = None
"""Whether the frontend node is used for composition.""" """Whether the frontend node is used for composition."""
base_classes: List[str] base_classes: List[str]