Update VertexStates enum to inherit from str in base.py

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-27 13:46:17 -03:00
commit d5600f5304

View file

@ -25,7 +25,7 @@ if TYPE_CHECKING:
from langflow.graph.graph.base import Graph
class VertexStates(Enum):
class VertexStates(str, Enum):
"""Vertex are related to it being active, inactive, or in an error state."""
ACTIVE = "active"