dcicutils 8.8.0.1b17__py3-none-any.whl → 8.8.0.1b18__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dcicutils/structured_data.py +8 -6
- {dcicutils-8.8.0.1b17.dist-info → dcicutils-8.8.0.1b18.dist-info}/METADATA +1 -1
- {dcicutils-8.8.0.1b17.dist-info → dcicutils-8.8.0.1b18.dist-info}/RECORD +6 -6
- {dcicutils-8.8.0.1b17.dist-info → dcicutils-8.8.0.1b18.dist-info}/LICENSE.txt +0 -0
- {dcicutils-8.8.0.1b17.dist-info → dcicutils-8.8.0.1b18.dist-info}/WHEEL +0 -0
- {dcicutils-8.8.0.1b17.dist-info → dcicutils-8.8.0.1b18.dist-info}/entry_points.txt +0 -0
dcicutils/structured_data.py
CHANGED
@@ -92,15 +92,16 @@ class StructuredDataSet:
|
|
92
92
|
self._load_file(file) if file else None
|
93
93
|
|
94
94
|
def _progress_update(self, nrows: Union[int, Callable],
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
95
|
+
ref_resolved: Optional[int] = None,
|
96
|
+
ref_unresolved: Optional[int] = None,
|
97
|
+
ref_lookups: Optional[int] = None,
|
98
|
+
ref_cache_hits: Optional[int] = None,
|
99
|
+
ref_incorrect: Optional[int] = None) -> None:
|
99
100
|
if self._progress:
|
100
101
|
if callable(nrows):
|
101
102
|
nrows = nrows()
|
102
103
|
if isinstance(nrows, int) and nrows != 0:
|
103
|
-
self._progress(nrows,
|
104
|
+
self._progress(nrows, ref_resolved, ref_unresolved, ref_lookups, ref_cache_hits, ref_incorrect)
|
104
105
|
|
105
106
|
@property
|
106
107
|
def data(self) -> dict:
|
@@ -299,7 +300,8 @@ class StructuredDataSet:
|
|
299
300
|
self._add(type_name, structured_row)
|
300
301
|
if self._progress:
|
301
302
|
self._progress_update(-1, self.ref_total_count, self.ref_total_notfound_count,
|
302
|
-
self.ref_lookup_count, self.ref_lookup_cache_hit_count
|
303
|
+
self.ref_lookup_count, self.ref_lookup_cache_hit_count,
|
304
|
+
self.ref_incorrect_identifying_property_count)
|
303
305
|
self._note_warning(reader.warnings, "reader")
|
304
306
|
if schema:
|
305
307
|
self._note_error(schema._unresolved_refs, "ref")
|
@@ -62,15 +62,15 @@ dcicutils/secrets_utils.py,sha256=8dppXAsiHhJzI6NmOcvJV5ldvKkQZzh3Fl-cb8Wm7MI,19
|
|
62
62
|
dcicutils/sheet_utils.py,sha256=VlmzteONW5VF_Q4vo0yA5vesz1ViUah1MZ_yA1rwZ0M,33629
|
63
63
|
dcicutils/snapshot_utils.py,sha256=ymP7PXH6-yEiXAt75w0ldQFciGNqWBClNxC5gfX2FnY,22961
|
64
64
|
dcicutils/ssl_certificate_utils.py,sha256=F0ifz_wnRRN9dfrfsz7aCp4UDLgHEY8LaK7PjnNvrAQ,9707
|
65
|
-
dcicutils/structured_data.py,sha256=
|
65
|
+
dcicutils/structured_data.py,sha256=7yWs6u9PaK6zvGOr81rMxSAAQpubi_8Jx7cpOaZkSZ8,55612
|
66
66
|
dcicutils/task_utils.py,sha256=MF8ujmTD6-O2AC2gRGPHyGdUrVKgtr8epT5XU8WtNjk,8082
|
67
67
|
dcicutils/tmpfile_utils.py,sha256=n95XF8dZVbQRSXBZTGToXXfSs3JUVRyN6c3ZZ0nhAWI,1403
|
68
68
|
dcicutils/trace_utils.py,sha256=g8kwV4ebEy5kXW6oOrEAUsurBcCROvwtZqz9fczsGRE,1769
|
69
69
|
dcicutils/validation_utils.py,sha256=cMZIU2cY98FYtzK52z5WUYck7urH6JcqOuz9jkXpqzg,14797
|
70
70
|
dcicutils/variant_utils.py,sha256=2H9azNx3xAj-MySg-uZ2SFqbWs4kZvf61JnK6b-h4Qw,4343
|
71
71
|
dcicutils/zip_utils.py,sha256=rnjNv_k6L9jT2SjDSgVXp4BEJYLtz9XN6Cl2Fy-tqnM,2027
|
72
|
-
dcicutils-8.8.0.
|
73
|
-
dcicutils-8.8.0.
|
74
|
-
dcicutils-8.8.0.
|
75
|
-
dcicutils-8.8.0.
|
76
|
-
dcicutils-8.8.0.
|
72
|
+
dcicutils-8.8.0.1b18.dist-info/LICENSE.txt,sha256=qnwSmfnEWMl5l78VPDEzAmEbLVrRqQvfUQiHT0ehrOo,1102
|
73
|
+
dcicutils-8.8.0.1b18.dist-info/METADATA,sha256=IRepwL7YhLgXCirTlvTCl4vxj4_EdJ4UoPky-wWIJjI,3357
|
74
|
+
dcicutils-8.8.0.1b18.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
75
|
+
dcicutils-8.8.0.1b18.dist-info/entry_points.txt,sha256=51Q4F_2V10L0282W7HFjP4jdzW4K8lnWDARJQVFy_hw,270
|
76
|
+
dcicutils-8.8.0.1b18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|