dcicutils 8.8.1.1b15__py3-none-any.whl → 8.8.1.1b16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,17 @@
1
1
  from datetime import datetime
2
2
  from enum import Enum
3
3
 
4
-
5
4
  # Constants for progress tracking for smaht-submitr.
6
5
  # Here only to share between smaht-portal, snovault, and smaht-submitr.
7
6
 
8
- class PROGRESS_INGESTER(Enum):
7
+
8
+ class _Enum(Enum):
9
+ # Automatically make enumerators within the enumeration resolve to its value property.
10
+ def __get__(self, instance, owner):
11
+ return self.value
12
+
13
+
14
+ class PROGRESS_INGESTER(_Enum):
9
15
  VALIDATION = "ingester_validation"
10
16
  INITIATE = "ingester_initiate"
11
17
  PARSE_LOAD_INITIATE = "ingester_parse_initiate"
@@ -20,7 +26,7 @@ class PROGRESS_INGESTER(Enum):
20
26
  NOW = lambda: str(datetime.utcnow()) # noqa
21
27
 
22
28
 
23
- class PROGRESS_PARSE(Enum):
29
+ class PROGRESS_PARSE(_Enum):
24
30
  LOAD_START = "parse_start"
25
31
  LOAD_ITEM = "parse_item"
26
32
  LOAD_DONE = "parse_done"
@@ -46,7 +52,7 @@ class PROGRESS_PARSE(Enum):
46
52
  NOW = lambda: str(datetime.utcnow()) # noqa
47
53
 
48
54
 
49
- class PROGRESS_LOADXL(Enum):
55
+ class PROGRESS_LOADXL(_Enum):
50
56
  START = "loadxl_start"
51
57
  START_SECOND_ROUND = "loadxl_start_second_round"
52
58
  ITEM = "loadxl_item"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.8.1.1b15
3
+ Version: 8.8.1.1b16
4
4
  Summary: Utility package for interacting with the 4DN Data Portal and other 4DN resources
5
5
  Home-page: https://github.com/4dn-dcic/utils
6
6
  License: MIT
@@ -48,7 +48,7 @@ dcicutils/obfuscation_utils.py,sha256=fo2jOmDRC6xWpYX49u80bVNisqRRoPskFNX3ymFAmj
48
48
  dcicutils/opensearch_utils.py,sha256=V2exmFYW8Xl2_pGFixF4I2Cc549Opwe4PhFi5twC0M8,1017
49
49
  dcicutils/portal_object_utils.py,sha256=MF6MTZ6yxakZFDjbkTKCsF4q4p11dLDVvT5JBV9m6RQ,15408
50
50
  dcicutils/portal_utils.py,sha256=oBoI3KWRp6YrbsuVGbmPQ3kATB5cVVsQo7-qmnYXWqg,30260
51
- dcicutils/progress_constants.py,sha256=9fCppbB8vKgXBUlmzuaz7z6ylv4GmONrGw9-iwIhRu8,2323
51
+ dcicutils/progress_constants.py,sha256=yHstS8vdYgZPxGJ_dk36Tu2Yzvl9G78Q4lNdz3_RAAw,2504
52
52
  dcicutils/project_utils.py,sha256=qPdCaFmWUVBJw4rw342iUytwdQC0P-XKpK4mhyIulMM,31250
53
53
  dcicutils/qa_checkers.py,sha256=cdXjeL0jCDFDLT8VR8Px78aS10hwNISOO5G_Zv2TZ6M,20534
54
54
  dcicutils/qa_utils.py,sha256=TT0SiJWiuxYvbsIyhK9VO4uV_suxhB6CpuC4qPacCzQ,160208
@@ -70,8 +70,8 @@ dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
70
70
  dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
71
71
  dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
72
72
  dcicutils/zip_utils.py,sha256=rnjNv_k6L9jT2SjDSgVXp4BEJYLtz9XN6Cl2Fy-tqnM,2027
73
- dcicutils-8.8.1.1b15.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
74
- dcicutils-8.8.1.1b15.dist-info/METADATA,sha256=r0UkHIY-aKRYZa2ezsteHzZpBX41-81PxWcLoMt7jXo,3357
75
- dcicutils-8.8.1.1b15.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
76
- dcicutils-8.8.1.1b15.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
77
- dcicutils-8.8.1.1b15.dist-info/RECORD,,
73
+ dcicutils-8.8.1.1b16.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
74
+ dcicutils-8.8.1.1b16.dist-info/METADATA,sha256=TYZX3dqTZbCIVvOl6YYiQC2SyvOn43UX4jaV4WLfkeM,3357
75
+ dcicutils-8.8.1.1b16.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
76
+ dcicutils-8.8.1.1b16.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
77
+ dcicutils-8.8.1.1b16.dist-info/RECORD,,