Skip to content

Commit 4a7b4e8

Browse files
authored
Feature/pdct 1527 Fix family metadata validation (#70)
* Add event metadata field * Bump to 3.8.20 * Remove old code * Update _event sub taxonomy key * Bump to 3.8.21 * _event taxonomy as alembic migration to fix admin tests * Bump to 3.8.22 * Fix expected taxonomy test * Consolidate queries * Fix tests * Fix metadata validation for families * Bump to 3.8.23
1 parent 92b71b8 commit 4a7b4e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

db_client/functions/metadata.py

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def validate_metadata(
5252
if k
5353
not in [
5454
EntitySpecificTaxonomyKeys.DOCUMENT.value,
55+
"event_type", # TODO: Remove as part of PDCT-1622
5556
EntitySpecificTaxonomyKeys.EVENT.value,
5657
]
5758
}

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "db-client"
3-
version = "3.8.22"
3+
version = "3.8.23"
44
description = "All things to do with the datamodel and its storage. Including alembic migrations and datamodel code."
55
authors = ["CPR-dev-team <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)