We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11d0879 commit c09a652Copy full SHA for c09a652
1 file changed
cycode/cli/apps/scan/prompt/types.py
@@ -1,6 +1,10 @@
1
"""Type definitions for AI guardrails."""
2
+from enum import Enum
3
-from enum import StrEnum
4
+
5
+class StrEnum(str, Enum):
6
+ def __str__(self) -> str:
7
+ return self.value
8
9
10
class AiHookEventType(StrEnum):
0 commit comments