diff --git a/whylabs_toolkit/monitor/models/monitor.py b/whylabs_toolkit/monitor/models/monitor.py index 387a126..bda3c34 100644 --- a/whylabs_toolkit/monitor/models/monitor.py +++ b/whylabs_toolkit/monitor/models/monitor.py @@ -180,8 +180,9 @@ class Monitor(NoExtrasBaseModel): max_length=256, regex="[0-9a-zA-Z \\-_]+", ) - tags: Optional[ # type: ignore - List[constr(min_length=3, max_length=32, regex="[0-9a-zA-Z\\-_]")] # type:ignore # noqa: F722 + tags: Annotated[ + Optional[List[str]], + Field(title="Tags", description="The corresponding segment tags.", max_items=10, pattern="[0-9a-zA-Z\\-_]+$"), ] = Field(None, description="A list of tags that are associated with the monitor.") analyzerIds: Annotated[ List[str],