lsst-felis 29.2025.1200__py3-none-any.whl → 29.2025.1400__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.
Potentially problematic release.
This version of lsst-felis might be problematic. Click here for more details.
- felis/diff.py +8 -13
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/METADATA +1 -1
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/RECORD +9 -9
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/WHEEL +1 -1
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/entry_points.txt +0 -0
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/licenses/COPYRIGHT +0 -0
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/licenses/LICENSE +0 -0
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/top_level.txt +0 -0
- {lsst_felis-29.2025.1200.dist-info → lsst_felis-29.2025.1400.dist-info}/zip-safe +0 -0
felis/diff.py
CHANGED
|
@@ -118,8 +118,8 @@ class FormattedSchemaDiff(SchemaDiff):
|
|
|
118
118
|
def _handle_values_changed(self, changes: dict[str, Any]) -> None:
|
|
119
119
|
for key in changes:
|
|
120
120
|
keys = self._parse_deepdiff_path(key)
|
|
121
|
-
value1 =
|
|
122
|
-
value2 =
|
|
121
|
+
value1 = changes[key]["old_value"]
|
|
122
|
+
value2 = changes[key]["new_value"]
|
|
123
123
|
self._print_header(self.dict1, keys)
|
|
124
124
|
print(f"- {value1}")
|
|
125
125
|
print(f"+ {value2}")
|
|
@@ -127,28 +127,30 @@ class FormattedSchemaDiff(SchemaDiff):
|
|
|
127
127
|
def _handle_iterable_item_added(self, changes: dict[str, Any]) -> None:
|
|
128
128
|
for key in changes:
|
|
129
129
|
keys = self._parse_deepdiff_path(key)
|
|
130
|
-
value =
|
|
130
|
+
value = changes[key]
|
|
131
131
|
self._print_header(self.dict2, keys)
|
|
132
132
|
print(f"+ {value}")
|
|
133
133
|
|
|
134
134
|
def _handle_iterable_item_removed(self, changes: dict[str, Any]) -> None:
|
|
135
135
|
for key in changes:
|
|
136
136
|
keys = self._parse_deepdiff_path(key)
|
|
137
|
-
value =
|
|
137
|
+
value = changes[key]
|
|
138
138
|
self._print_header(self.dict1, keys)
|
|
139
139
|
print(f"- {value}")
|
|
140
140
|
|
|
141
141
|
def _handle_dictionary_item_added(self, changes: dict[str, Any]) -> None:
|
|
142
142
|
for key in changes:
|
|
143
143
|
keys = self._parse_deepdiff_path(key)
|
|
144
|
-
value =
|
|
144
|
+
value = keys[-1]
|
|
145
|
+
keys.pop()
|
|
145
146
|
self._print_header(self.dict2, keys)
|
|
146
147
|
print(f"+ {value}")
|
|
147
148
|
|
|
148
149
|
def _handle_dictionary_item_removed(self, changes: dict[str, Any]) -> None:
|
|
149
150
|
for key in changes:
|
|
150
151
|
keys = self._parse_deepdiff_path(key)
|
|
151
|
-
value =
|
|
152
|
+
value = keys[-1]
|
|
153
|
+
keys.pop()
|
|
152
154
|
self._print_header(self.dict1, keys)
|
|
153
155
|
print(f"- {value}")
|
|
154
156
|
|
|
@@ -191,13 +193,6 @@ class FormattedSchemaDiff(SchemaDiff):
|
|
|
191
193
|
|
|
192
194
|
return keys
|
|
193
195
|
|
|
194
|
-
@staticmethod
|
|
195
|
-
def _get_value_from_keys(data: dict, keys: list[str | int]) -> Any:
|
|
196
|
-
value = data
|
|
197
|
-
for key in keys:
|
|
198
|
-
value = value[key]
|
|
199
|
-
return value
|
|
200
|
-
|
|
201
196
|
|
|
202
197
|
class DatabaseDiff(SchemaDiff):
|
|
203
198
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.1400
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
felis/__init__.py,sha256=HnwWzLaPOSnPzAoppSIHzTrGfixEgvkzJdBxa8-03cw,1294
|
|
2
2
|
felis/cli.py,sha256=1a1wFYG5t1nZnXQhNtUA9WnXOyI3ECLXfcMZsk2AuYM,15578
|
|
3
3
|
felis/datamodel.py,sha256=VC11uKxSumksen_3zyCkH9l9A_BcTjMib341fLyOLMU,43068
|
|
4
|
-
felis/diff.py,sha256=
|
|
4
|
+
felis/diff.py,sha256=z4ZzUocFYVa2y22BWUAMkeeLORmMtaWIDGTVaUE1OIM,7181
|
|
5
5
|
felis/metadata.py,sha256=cYx_qizkLBqcoxWV46h4TbwTi1KVJAkuA2OuUmD-K5k,13536
|
|
6
6
|
felis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
felis/tap_schema.py,sha256=vO_f1LvFPU6D1vv2SplIzOW_TV36zOOFOfXQIdD0rMI,24781
|
|
@@ -15,11 +15,11 @@ felis/db/variants.py,sha256=eahthrbVeV8ZdGamWQccNmWgx6CCscGrU0vQRs5HZK8,5260
|
|
|
15
15
|
felis/schemas/tap_schema_std.yaml,sha256=sPW-Vk72nY0PFpCvP5d8L8fWvhkif-x32sGtcfDZ8bU,7131
|
|
16
16
|
felis/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
felis/tests/postgresql.py,sha256=B_xk4fLual5-viGDqP20r94okuc0pbSvytRH_L0fvMs,4035
|
|
18
|
-
lsst_felis-29.2025.
|
|
19
|
-
lsst_felis-29.2025.
|
|
20
|
-
lsst_felis-29.2025.
|
|
21
|
-
lsst_felis-29.2025.
|
|
22
|
-
lsst_felis-29.2025.
|
|
23
|
-
lsst_felis-29.2025.
|
|
24
|
-
lsst_felis-29.2025.
|
|
25
|
-
lsst_felis-29.2025.
|
|
18
|
+
lsst_felis-29.2025.1400.dist-info/licenses/COPYRIGHT,sha256=vJAFLFTSF1mhy9eIuA3P6R-3yxTWKQgpig88P-1IzRw,129
|
|
19
|
+
lsst_felis-29.2025.1400.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
|
20
|
+
lsst_felis-29.2025.1400.dist-info/METADATA,sha256=cNxcNtR6lP4WykJ8gmagUHgPzqxTidbnob7ieFsLhEk,1433
|
|
21
|
+
lsst_felis-29.2025.1400.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
22
|
+
lsst_felis-29.2025.1400.dist-info/entry_points.txt,sha256=Gk2XFujA_Gp52VBk45g5kim8TDoMDJFPctsMqiq72EM,40
|
|
23
|
+
lsst_felis-29.2025.1400.dist-info/top_level.txt,sha256=F4SvPip3iZRVyISi50CHhwTIAokAhSxjWiVcn4IVWRI,6
|
|
24
|
+
lsst_felis-29.2025.1400.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
25
|
+
lsst_felis-29.2025.1400.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|