Skip to content

Commit

Permalink
Merge pull request #104 from hCaptcha/specify-optional-fields
Browse files Browse the repository at this point in the history
Specify optional fields for groundtruth validator
  • Loading branch information
DicksonChi authored Oct 18, 2023
2 parents 5b8832c + 85d394a commit c721f54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion basemodels/manifest/data/groundtruth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "hmt-basemodels"
version = "0.2.3"
version = "0.2.4"
description = ""
authors = ["Intuition Machines, Inc <[email protected]>"]
packages = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c721f54

Please sign in to comment.