From f8e2ec7feb5e1ab60f3ab0e5e8f92102a3d121dc Mon Sep 17 00:00:00 2001 From: Dickson Chibuzor Date: Wed, 18 Oct 2023 16:14:35 +0100 Subject: [PATCH 1/2] make entity name optional --- basemodels/manifest/data/groundtruth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basemodels/manifest/data/groundtruth.py b/basemodels/manifest/data/groundtruth.py index 188ec35..65dfcba 100644 --- a/basemodels/manifest/data/groundtruth.py +++ b/basemodels/manifest/data/groundtruth.py @@ -55,7 +55,7 @@ def validate_wrapper_model(Model, data): class ILASGroundtruthEntry(BaseModel): - entity_name: float + entity_name: Optional[Union[int, float]] entity_type: str entity_coords: List[Union[int, float]] From 85d394a4d331d23b17b789272ddf9a4e5a2196a7 Mon Sep 17 00:00:00 2001 From: Dickson Chibuzor Date: Wed, 18 Oct 2023 16:15:50 +0100 Subject: [PATCH 2/2] bump --- pyproject.toml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d4eddb2..4cbd247 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hmt-basemodels" -version = "0.2.3" +version = "0.2.4" description = "" authors = ["Intuition Machines, Inc "] packages = [ diff --git a/setup.py b/setup.py index 6da955f..a6627ca 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="hmt-basemodels", - version="0.2.3", + version="0.2.4", author="HUMAN Protocol", description="Common data models shared by various components of the Human Protocol stack", url="https://github.com/hCaptcha/hmt-basemodels",