Skip to content

Commit

Permalink
ingester progress tracking work
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Mar 30, 2024
1 parent 14757a6 commit 88d0941
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dcicutils/progress_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <support@4dnucleome.org>"]
license = "MIT"
Expand Down

0 comments on commit 88d0941

Please sign in to comment.