refactor: Rename 'hide' to 'hidden' in field classes

Update the field classes in the codebase to use the 'hidden' attribute instead of 'hide' for consistency and clarity. This change aligns with recent updates to the langflow library and improves the readability of the code.
This commit is contained in:
ogabrielluiz 2024-06-12 22:16:41 -03:00
commit 6357d245aa
4 changed files with 16 additions and 16 deletions

View file

@ -164,7 +164,7 @@ class Output(BaseModel):
name: str = Field(default=None)
"""The name of the field."""
hide: Optional[bool] = Field(default=None)
hidden: Optional[bool] = Field(default=None)
"""Dictates if the field is hidden."""
display_name: Optional[str] = Field(default=None)