dcicutils 8.8.1.1b18__py3-none-any.whl → 8.8.1.1b20__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,9 @@ class _Enum(Enum):
17
17
 
18
18
  class PROGRESS_INGESTER(_Enum):
19
19
  VALIDATION = "ingester_validation"
20
+ QUEUED = "ingester_queued"
20
21
  INITIATE = "ingester_initiate"
22
+ DONE = "ingester_done"
21
23
  PARSE_LOAD_INITIATE = "ingester_parse_initiate"
22
24
  PARSE_LOAD_DONE = "ingester_parse_done"
23
25
  VALIDATE_LOAD_INITIATE = "ingester_validate_initiate"
@@ -27,7 +29,7 @@ class PROGRESS_INGESTER(_Enum):
27
29
  MESSAGE = "ingester_message"
28
30
  MESSAGE_VERBOSE = "ingester_message_verbose"
29
31
  MESSAGE_DEBUG = "ingester_message_debug"
30
- NOW = lambda: str(datetime.utcnow()) # noqa
32
+ NOW = lambda: _NOW() # noqa
31
33
 
32
34
 
33
35
  class PROGRESS_PARSE(_Enum):
@@ -53,7 +55,7 @@ class PROGRESS_PARSE(_Enum):
53
55
  MESSAGE = "parse_message"
54
56
  MESSAGE_VERBOSE = "parse_message_verbose"
55
57
  MESSAGE_DEBUG = "parse_message_debug"
56
- NOW = lambda: str(datetime.utcnow()) # noqa
58
+ NOW = lambda: _NOW() # noqa
57
59
 
58
60
 
59
61
  class PROGRESS_LOADXL(_Enum):
@@ -70,4 +72,8 @@ class PROGRESS_LOADXL(_Enum):
70
72
  MESSAGE = "loadxl_message"
71
73
  MESSAGE_VERBOSE = "loadxl_message_verbose"
72
74
  MESSAGE_DEBUG = "loadxl_message_debug"
73
- NOW = lambda: str(datetime.utcnow()) # noqa
75
+ NOW = lambda: _NOW() # noqa
76
+
77
+
78
+ def _NOW() -> str:
79
+ return datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S.%fZ")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dcicutils
3
- Version: 8.8.1.1b18
3
+ Version: 8.8.1.1b20
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=ZKBN9PoCEiC_peUOG7iUdGmHuGGs9C1xoSBZkdky_Ys,2695
51
+ dcicutils/progress_constants.py,sha256=0-UwyKE374R26e58sYby_BbbIsVUZGJk4TaPBMwHlGo,2789
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.1b18.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
74
- dcicutils-8.8.1.1b18.dist-info/METADATA,sha256=1VCugdyacHvHGrSG_XtqZkZLEyuv4dYnXh31WsH_xAs,3357
75
- dcicutils-8.8.1.1b18.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
76
- dcicutils-8.8.1.1b18.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
77
- dcicutils-8.8.1.1b18.dist-info/RECORD,,
73
+ dcicutils-8.8.1.1b20.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
74
+ dcicutils-8.8.1.1b20.dist-info/METADATA,sha256=L6_KbnQOS2cA7Rf9seDKza9Nmjb5niBCXCyjv6ehfPs,3357
75
+ dcicutils-8.8.1.1b20.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
76
+ dcicutils-8.8.1.1b20.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
77
+ dcicutils-8.8.1.1b20.dist-info/RECORD,,