Skip to content

Commit b00b427

Browse files
authored
Revert breaking change from PR aws-powertools#1846
The PR aws-powertools#1846 added a breaking change to RuleAction which not serializes the enum thus when used as an enum it breaks. Signed-off-by: royygael <[email protected]>
1 parent 92a526d commit b00b427

File tree

1 file changed

+1
-1
lines changed
  • aws_lambda_powertools/utilities/feature_flags

1 file changed

+1
-1
lines changed

Diff for: aws_lambda_powertools/utilities/feature_flags/schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
HOUR_MIN_SEPARATOR = ":"
2424

2525

26-
class RuleAction(Enum):
26+
class RuleAction(str, Enum):
2727
EQUALS = "EQUALS"
2828
NOT_EQUALS = "NOT_EQUALS"
2929
KEY_GREATER_THAN_VALUE = "KEY_GREATER_THAN_VALUE"

0 commit comments

Comments
 (0)