diff --git a/basemodels/manifest/manifest.py b/basemodels/manifest/manifest.py index 9967273..fdd8214 100644 --- a/basemodels/manifest/manifest.py +++ b/basemodels/manifest/manifest.py @@ -115,6 +115,7 @@ class RequestConfig(Model): min_length = IntType() sig_figs = IntType() keep_answers_order = BooleanType(default=False) + ignore_case = BooleanType(default=False) class InternalConfig(Model): diff --git a/basemodels/pydantic/manifest/manifest.py b/basemodels/pydantic/manifest/manifest.py index bfae7c6..e8cb4ae 100644 --- a/basemodels/pydantic/manifest/manifest.py +++ b/basemodels/pydantic/manifest/manifest.py @@ -126,7 +126,14 @@ class RequestConfig(Model): multiple_choice_max_choices: Optional[int] = 1 multiple_choice_min_choices: Optional[int] = 1 overlap_threshold: Optional[float] + answer_type: Optional[str] = "str" + max_value: Optional[float] + min_value: Optional[float] + max_length: Optional[int] + min_length: Optional[int] + sig_figs: Optional[int] keep_answers_order: Optional[bool] + ignore_case: Optional[bool] = False class InternalConfig(Model): diff --git a/pyproject.toml b/pyproject.toml index be663c5..0707744 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hmt-basemodels" -version = "0.1.31" +version = "0.1.32" description = "" authors = ["Intuition Machines, Inc "] packages = [ diff --git a/setup.py b/setup.py index 7873178..b53cde5 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setuptools.setup( name="hmt-basemodels", - version="0.1.31", + version="0.1.32", author="HUMAN Protocol", description="Common data models shared by various components of the Human Protocol stack", url="https://github.com/hCaptcha/hmt-basemodels",