Skip to content

Commit 49039e5

Browse files
committed
Add __repr__
1 parent 45d90bd commit 49039e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ class UpdateVersionWith(str, Enum):
1414
LATEST_RELEASE_COMMIT_SHA = "release-commit-sha"
1515
DEFAULT_BRANCH_COMMIT_SHA = "default-branch-sha"
1616

17+
def __repr__(self):
18+
return self.value
19+
1720

1821
class ReleaseType(str, Enum):
1922
MAJOR = "major"
2023
MINOR = "minor"
2124
PATCH = "patch"
2225

26+
def __repr__(self):
27+
return self.value
28+
2329

2430
class ActionEnvironment(BaseSettings):
2531
repository: str

0 commit comments

Comments
 (0)