microdata-tools 2.2.0__py3-none-any.whl → 2.2.2__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.
@@ -34,10 +34,11 @@ def _validate_datatype_in_codelist_and_sentinels(
34
34
  ]
35
35
  if invalid_codes:
36
36
  error_message = (
37
- f"Specified data type for measure ({data_type}) does not match the "
38
- f"data type within the "
39
- f"{list_name} ({_determine_datatype(invalid_codes[0])}). "
40
- f"Codes with mismatching data type are: "
37
+ f"Specified data type for measure ({data_type}) "
38
+ f"does not match the data type within the {list_name} "
39
+ "in the metadata json. The codes appear to be of type "
40
+ f"{_determine_datatype(invalid_codes[0])}. "
41
+ "Codes with mismatching data type are: "
41
42
  f"{invalid_codes[:5] + ['...'] if len(invalid_codes) > 5 else invalid_codes}" # noqa
42
43
  )
43
44
  return error_message
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: microdata-tools
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: Tools for the microdata.no platform
5
5
  Author: microdata-developers
6
6
  License: MIT
@@ -10,7 +10,7 @@ Requires-Dist: adbc-driver-manager==1.10.0
10
10
  Requires-Dist: adbc-driver-sqlite==1.10.0
11
11
  Requires-Dist: cryptography>=50.0.0
12
12
  Requires-Dist: numpy>=2.2.0
13
- Requires-Dist: pyarrow==23.0.1
13
+ Requires-Dist: pyarrow==25.0.1
14
14
  Requires-Dist: pydantic>=2.11.7
15
15
  Description-Content-Type: text/markdown
16
16
 
@@ -41,8 +41,8 @@ microdata_tools/validation/model/metadata.py,sha256=x987ZfR7ygVj46UTC4thKpR_Y9W6
41
41
  microdata_tools/validation/steps/data_reader.py,sha256=vJ_RzSHFsNDnMLIDFcG2fg4Z7hNHO7Q1T4r6Mfikm8E,12277
42
42
  microdata_tools/validation/steps/dataset_validator.py,sha256=4z1H4O3NreqVegxjoloJwJIMaIHpra26iIiEXO_EaY8,13186
43
43
  microdata_tools/validation/steps/metadata_enricher.py,sha256=TiyEjO6k5vEDNvUA9kAcTmmcu8L6JSu6sLBqK_q64pU,1055
44
- microdata_tools/validation/steps/metadata_reader.py,sha256=mMy-C9sBk9i6XBpwtbCGY1wegWZjjLLgmXcB6rGZ5eE,7606
45
- microdata_tools-2.2.0.dist-info/METADATA,sha256=Pan07mLsSLszigqTOsMPaHnRv_Qce_dlGqdikakumrk,6195
46
- microdata_tools-2.2.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
47
- microdata_tools-2.2.0.dist-info/licenses/LICENSE.md,sha256=hxspefYgWP3U6OZFhCifqWMI5ksnKzgFxNKgQnG7Ozc,1074
48
- microdata_tools-2.2.0.dist-info/RECORD,,
44
+ microdata_tools/validation/steps/metadata_reader.py,sha256=erB46QQ2L3fmHvK3efzor_XfpaK8r0OTvrSaSlXOaU4,7671
45
+ microdata_tools-2.2.2.dist-info/METADATA,sha256=GtSDdihCaejhCkx6-JL3rqVLueSLhcx5F7SyjdKNSSQ,6195
46
+ microdata_tools-2.2.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
47
+ microdata_tools-2.2.2.dist-info/licenses/LICENSE.md,sha256=hxspefYgWP3U6OZFhCifqWMI5ksnKzgFxNKgQnG7Ozc,1074
48
+ microdata_tools-2.2.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.32.0
2
+ Generator: hatchling 1.32.4
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any