Update VertexStates enum to inherit from str in base.py
This commit is contained in:
parent
0d215c67f5
commit
d5600f5304
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ if TYPE_CHECKING:
|
||||||
from langflow.graph.graph.base import Graph
|
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."""
|
"""Vertex are related to it being active, inactive, or in an error state."""
|
||||||
|
|
||||||
ACTIVE = "active"
|
ACTIVE = "active"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue