hapi-schema 0.9.4__tar.gz → 0.9.6__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.
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/PKG-INFO +1 -1
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/changelog.md +13 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/_version.py +2 -2
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_poverty_rate.py +1 -1
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_views_as_tables.py +20 -17
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_views_as_tables.py +12 -2
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.config/coveragerc +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.config/pre-commit-config.yaml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.config/pytest.ini +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.config/ruff.toml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.github/workflows/publish.yaml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.github/workflows/run-python-tests.yaml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/.gitignore +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/LICENSE +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/README.md +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/contributing.md +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/docker/docker-compose.yml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/initialize_test_db.sh +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/pyproject.toml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/requirements.txt +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/__init__.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_admin1.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_admin2.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_conflict_event.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_currency.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_dataset.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_food_price.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_food_security.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_funding.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_humanitarian_needs.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_idps.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_location.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_national_risk.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_operational_presence.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_org.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_org_type.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_patch.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_population.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_refugees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_resource.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_returnees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_sector.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_wfp_commodity.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/db_wfp_market.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/__init__.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/base.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/constraints.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/enums.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/hapi_views_code_generator.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/view_as_table_code_generator.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/view_as_table_definitions.toml +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/view_params.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/views.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/conftest.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/__init__.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_admin1.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_admin2.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_conflict_event.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_currency.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_dataset.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_food_price.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_food_security.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_funding.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_humanitarian_needs.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_idps.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_location.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_national_risk.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_operational_presence.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_org.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_org_type.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_patch.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_population.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_poverty_rate.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_refugees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_resource.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_returnees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_sector.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_wfp_commodity.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/sample_data/data_wfp_market.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_admin1.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_admin2.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_conflict_event.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_currency.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_dataset.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_food_price.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_food_security.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_funding.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_humanitarian_needs.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_idps.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_location.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_national_risk.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_operational_presence.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_org.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_org_type.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_patch.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_population.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_poverty_rate.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_refugees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_resource.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_returnees.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_sector.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_wfp_commodity.py +0 -0
- {hapi_schema-0.9.4 → hapi_schema-0.9.6}/tests/test_wfp_market.py +0 -0
|
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## 0.9.6
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed data_availability_vat primary key and indices
|
|
13
|
+
- Added indices for each new admin_level column in other tables
|
|
14
|
+
|
|
15
|
+
## 0.9.5
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Changed precision of poverty rate constraint
|
|
20
|
+
|
|
8
21
|
## 0.9.4
|
|
9
22
|
|
|
10
23
|
### Added
|
|
@@ -34,7 +34,7 @@ class DBPovertyRate(Base):
|
|
|
34
34
|
percentage_constraint(var_name="in_severe_poverty"),
|
|
35
35
|
reference_period_constraint(),
|
|
36
36
|
CheckConstraint(
|
|
37
|
-
sqltext="ABS(headcount_ratio / 100 * intensity_of_deprivation / 100 - mpi) < 0.
|
|
37
|
+
sqltext="ABS(headcount_ratio / 100 * intensity_of_deprivation / 100 - mpi) < 0.0001",
|
|
38
38
|
name="mpi_product_constraint",
|
|
39
39
|
),
|
|
40
40
|
)
|
|
@@ -109,7 +109,7 @@ class DBConflictEventVAT(Base):
|
|
|
109
109
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
110
110
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
111
111
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
112
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
112
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
class DBCurrencyVAT(Base):
|
|
@@ -175,7 +175,7 @@ class DBFoodPriceVAT(Base):
|
|
|
175
175
|
admin2_code: Mapped[str] = mapped_column(String(128), index=True)
|
|
176
176
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
177
177
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
178
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
178
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
class DBFoodSecurityVAT(Base):
|
|
@@ -216,7 +216,7 @@ class DBFoodSecurityVAT(Base):
|
|
|
216
216
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
217
217
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
218
218
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
219
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
219
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
class DBFundingVAT(Base):
|
|
@@ -279,7 +279,7 @@ class DBHumanitarianNeedsVAT(Base):
|
|
|
279
279
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
280
280
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
281
281
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
282
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
282
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
class DBIDPsVAT(Base):
|
|
@@ -316,7 +316,7 @@ class DBIDPsVAT(Base):
|
|
|
316
316
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
317
317
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
318
318
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
319
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
319
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
320
320
|
|
|
321
321
|
|
|
322
322
|
class DBLocationVAT(Base):
|
|
@@ -401,7 +401,7 @@ class DBOperationalPresenceVAT(Base):
|
|
|
401
401
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
402
402
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
403
403
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
404
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
404
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
405
405
|
|
|
406
406
|
|
|
407
407
|
class DBOrgTypeVAT(Base):
|
|
@@ -457,7 +457,7 @@ class DBPopulationVAT(Base):
|
|
|
457
457
|
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
458
458
|
admin2_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
459
459
|
admin1_ref: Mapped[int] = mapped_column(Integer)
|
|
460
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
460
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
461
461
|
|
|
462
462
|
|
|
463
463
|
class DBPovertyRateVAT(Base):
|
|
@@ -489,7 +489,7 @@ class DBPovertyRateVAT(Base):
|
|
|
489
489
|
admin1_code: Mapped[str] = mapped_column(String(128))
|
|
490
490
|
admin1_is_unspecified: Mapped[bool] = mapped_column(Boolean)
|
|
491
491
|
location_ref: Mapped[int] = mapped_column(Integer, index=True)
|
|
492
|
-
admin_level: Mapped[int] = mapped_column(Integer)
|
|
492
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
493
493
|
|
|
494
494
|
|
|
495
495
|
class DBRefugeesVAT(Base):
|
|
@@ -622,13 +622,16 @@ class DBWfpMarketVAT(Base):
|
|
|
622
622
|
|
|
623
623
|
class DBAvailabilityVAT(Base):
|
|
624
624
|
__tablename__ = "data_availability_vat"
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
625
|
+
id: Mapped[int] = mapped_column(
|
|
626
|
+
Integer, primary_key=True, autoincrement=True
|
|
627
|
+
)
|
|
628
|
+
category: Mapped[str] = mapped_column(String(128), index=True)
|
|
629
|
+
subcategory: Mapped[str] = mapped_column(String(128), index=True)
|
|
630
|
+
location_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
631
|
+
location_code: Mapped[str] = mapped_column(String(128), index=True)
|
|
632
|
+
admin1_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
633
|
+
admin1_code: Mapped[str] = mapped_column(String(128), index=True)
|
|
634
|
+
admin2_name: Mapped[str] = mapped_column(String(512), index=True)
|
|
635
|
+
admin2_code: Mapped[str] = mapped_column(String(128), index=True)
|
|
636
|
+
admin_level: Mapped[int] = mapped_column(Integer, index=True)
|
|
634
637
|
hapi_updated_date: Mapped[datetime] = mapped_column(DateTime, index=True)
|
|
@@ -79,6 +79,7 @@ def test_conflict_event_vat(
|
|
|
79
79
|
"admin1_name",
|
|
80
80
|
"admin2_code",
|
|
81
81
|
"admin2_name",
|
|
82
|
+
"admin_level",
|
|
82
83
|
]
|
|
83
84
|
run_columns_test(
|
|
84
85
|
"conflict_event_vat", "conflict_event_view", view_params_conflict_event
|
|
@@ -136,6 +137,7 @@ def test_food_price_vat(
|
|
|
136
137
|
"admin1_name",
|
|
137
138
|
"admin2_code",
|
|
138
139
|
"admin2_name",
|
|
140
|
+
"admin_level",
|
|
139
141
|
]
|
|
140
142
|
run_columns_test(
|
|
141
143
|
"food_price_vat", "food_price_view", view_params_food_price
|
|
@@ -166,6 +168,7 @@ def test_food_security_vat(
|
|
|
166
168
|
"admin1_name",
|
|
167
169
|
"admin2_code",
|
|
168
170
|
"admin2_name",
|
|
171
|
+
"admin_level",
|
|
169
172
|
]
|
|
170
173
|
run_columns_test(
|
|
171
174
|
"food_security_vat", "food_security_view", view_params_food_security
|
|
@@ -213,6 +216,7 @@ def test_humanitarian_needs_vat(
|
|
|
213
216
|
"admin1_name",
|
|
214
217
|
"admin2_code",
|
|
215
218
|
"admin2_name",
|
|
219
|
+
"admin_level",
|
|
216
220
|
]
|
|
217
221
|
run_columns_test(
|
|
218
222
|
"humanitarian_needs_vat",
|
|
@@ -243,6 +247,7 @@ def test_idps_vat(run_indexes_test, run_columns_test, run_primary_keys_test):
|
|
|
243
247
|
"admin1_code",
|
|
244
248
|
"admin2_name",
|
|
245
249
|
"admin2_code",
|
|
250
|
+
"admin_level",
|
|
246
251
|
]
|
|
247
252
|
run_columns_test("idps_vat", "idps_view", view_params_idps)
|
|
248
253
|
run_primary_keys_test("idps_vat", expected_primary_keys)
|
|
@@ -304,6 +309,7 @@ def test_operational_presence_vat(
|
|
|
304
309
|
"admin1_name",
|
|
305
310
|
"admin2_code",
|
|
306
311
|
"admin2_name",
|
|
312
|
+
"admin_level",
|
|
307
313
|
]
|
|
308
314
|
run_columns_test(
|
|
309
315
|
"operational_presence_vat",
|
|
@@ -371,6 +377,7 @@ def test_population_vat(
|
|
|
371
377
|
"admin1_name",
|
|
372
378
|
"admin2_code",
|
|
373
379
|
"admin2_name",
|
|
380
|
+
"admin_level",
|
|
374
381
|
]
|
|
375
382
|
run_columns_test(
|
|
376
383
|
"population_vat", "population_view", view_params_population
|
|
@@ -393,6 +400,7 @@ def test_poverty_rate_vat(
|
|
|
393
400
|
"location_ref",
|
|
394
401
|
"location_code",
|
|
395
402
|
"location_name",
|
|
403
|
+
"admin_level",
|
|
396
404
|
]
|
|
397
405
|
run_columns_test(
|
|
398
406
|
"poverty_rate_vat", "poverty_rate_view", view_params_poverty_rate
|
|
@@ -522,6 +530,9 @@ def test_wfp_market_vat(
|
|
|
522
530
|
def test_data_availability_vat(run_indexes_test, run_primary_keys_test):
|
|
523
531
|
"""Check that wfp_market_vat is correct - columns match, expected indexes present"""
|
|
524
532
|
expected_primary_keys = [
|
|
533
|
+
"id",
|
|
534
|
+
]
|
|
535
|
+
expected_indexes = [
|
|
525
536
|
"category",
|
|
526
537
|
"subcategory",
|
|
527
538
|
"location_name",
|
|
@@ -530,8 +541,7 @@ def test_data_availability_vat(run_indexes_test, run_primary_keys_test):
|
|
|
530
541
|
"admin1_code",
|
|
531
542
|
"admin2_name",
|
|
532
543
|
"admin2_code",
|
|
533
|
-
|
|
534
|
-
expected_indexes = [
|
|
544
|
+
"admin_level",
|
|
535
545
|
"hapi_updated_date",
|
|
536
546
|
]
|
|
537
547
|
# run_columns_test(
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/view_as_table_code_generator.py
RENAMED
|
File without changes
|
{hapi_schema-0.9.4 → hapi_schema-0.9.6}/src/hapi_schema/utils/view_as_table_definitions.toml
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|