Skip to content

Commit 86ce3c7

Browse files
committed
Use StrEnums for Apigee constants.
1 parent b11a51d commit 86ce3c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/lib/apigee.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import inspect
22
from dataclasses import dataclass, field, asdict
3-
from enum import Enum
3+
from enum import StrEnum
44
from typing import List
55

66
import requests
77

88

9-
class ApigeeOrg(str, Enum):
9+
class ApigeeOrg(StrEnum):
1010
PROD = "nhsd-prod"
1111
NON_PROD = "nhsd-nonprod"
1212

1313

14-
class ApigeeEnv(str, Enum):
14+
class ApigeeEnv(StrEnum):
1515
INTERNAL_DEV = "internal-dev"
1616
INTERNAL_DEV_SANDBOX = "internal-dev-sandbox"
1717
SANDBOX = "sandbox"

0 commit comments

Comments
 (0)