odsbox-diff 1.0.0__tar.gz → 1.0.1__tar.gz
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.
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/PKG-INFO +1 -1
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/pyproject.toml +1 -1
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/__init__.py +1 -1
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/ods_diff_hierarchy/collect.py +7 -7
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/LICENSE +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/README.md +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/__main__.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/api.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/connection/__init__.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/connection/config.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/connection/factory.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/connection/manager.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/diff.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/ods_diff_hierarchy/__init__.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/ods_diff_hierarchy/diff.py +0 -0
- {odsbox_diff-1.0.0 → odsbox_diff-1.0.1}/src/odsbox_diff/ods_diff_hierarchy/rel_to_name.py +0 -0
|
@@ -88,9 +88,9 @@ class Collector:
|
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
log.debug("Found %s submatrices related to your test", sub_matrices.shape[0])
|
|
91
|
-
sub_matrices.columns = ["id", "measurement", "number_of_rows"]
|
|
91
|
+
sub_matrices.columns = pd.Index(["id", "measurement", "number_of_rows"])
|
|
92
92
|
local_column_entity = self._mc.entity_by_base_name("AoLocalColumn")
|
|
93
|
-
exception_errors = []
|
|
93
|
+
exception_errors: list[str] = []
|
|
94
94
|
log.debug("Load bulk data from ASAM ODS server")
|
|
95
95
|
for sub_matrix_index, submatrix_row in enumerate(sub_matrices.itertuples()):
|
|
96
96
|
if show_progress:
|
|
@@ -108,21 +108,21 @@ class Collector:
|
|
|
108
108
|
},
|
|
109
109
|
}
|
|
110
110
|
)
|
|
111
|
-
bulk_data.columns = ["id", "generation_parameters", "values", "flags"]
|
|
111
|
+
bulk_data.columns = pd.Index(["id", "generation_parameters", "values", "flags"])
|
|
112
112
|
for _, row in bulk_data.iterrows():
|
|
113
113
|
hash_value = self._hash_pandas_row(row)
|
|
114
114
|
local_column_id = row.id
|
|
115
115
|
parent_dictionary = lookup.get((local_column_entity.name, local_column_id), None)
|
|
116
116
|
if parent_dictionary is None:
|
|
117
117
|
raise ValueError("parent wasn't added")
|
|
118
|
-
parent_dictionary["
|
|
118
|
+
parent_dictionary["_BULK_HASH"] = hash_value
|
|
119
119
|
except HTTPError as e:
|
|
120
120
|
error_text = f"Unable to retrieve bulk for Submatrix {submatrix_id}: {e}"
|
|
121
121
|
exception_errors.append(error_text)
|
|
122
122
|
sub_matrix_dictionary = lookup.get((sub_matrix_entity.name, submatrix_id), None)
|
|
123
123
|
if sub_matrix_dictionary is None:
|
|
124
124
|
raise ValueError("parent wasn't added")
|
|
125
|
-
sub_matrix_dictionary["
|
|
125
|
+
sub_matrix_dictionary["_BULK_HASH_CALCULATION_ERROR"] = error_text
|
|
126
126
|
log.debug("Load bulk data from ASAM ODS server finished")
|
|
127
127
|
for exception_error in exception_errors:
|
|
128
128
|
log.error(exception_error)
|
|
@@ -487,9 +487,9 @@ class Collector:
|
|
|
487
487
|
id_entry = f"{entity.name}.{self._mc.attribute(entity, 'id').name}"
|
|
488
488
|
resolved_root_id: int = result[entity.name][id_entry]
|
|
489
489
|
|
|
490
|
-
instances_to_collect = []
|
|
490
|
+
instances_to_collect: list[tuple[str, str, str | None]] = []
|
|
491
491
|
|
|
492
|
-
path_to_root_instance = None
|
|
492
|
+
path_to_root_instance: str | None = None
|
|
493
493
|
|
|
494
494
|
current_entity = entity
|
|
495
495
|
current_children_relation = self._mc.relation_no_throw(current_entity, "children")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|