Skip to content

Commit 0c3898f

Browse files
committed
Add back Enum class
1 parent 549e2e3 commit 0c3898f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

infrahub_sdk/protocols_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ class DropdownOptional(Attribute):
7676
value: Optional[str]
7777

7878

79+
class Enum(Attribute):
80+
value: str
81+
82+
83+
class EnumOptional(Attribute):
84+
value: Optional[str]
85+
86+
7987
class Integer(Attribute):
8088
value: int
8189

0 commit comments

Comments
 (0)