diff --git a/dcicutils/progress_constants.py b/dcicutils/progress_constants.py index fc3943064..384822bda 100644 --- a/dcicutils/progress_constants.py +++ b/dcicutils/progress_constants.py @@ -9,6 +9,10 @@ class _Enum(Enum): # Automatically make enumerators within the enumeration resolve to its value property. def __get__(self, instance, owner): return self.value + # But doing the above does not take when iterating; so make provide a values method. + @classmethod # noqa + def values(cls): + return [enumerator.value for enumerator in cls] class PROGRESS_INGESTER(_Enum): diff --git a/pyproject.toml b/pyproject.toml index e39e4778c..1c5523b1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dcicutils" -version = "8.8.1.1b17" # TODO: To become 8.8.2 +version = "8.8.1.1b18" # TODO: To become 8.8.2 description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources" authors = ["4DN-DCIC Team "] license = "MIT"