Skip to content

Commit

Permalink
remove type ignore for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
murilommen committed May 29, 2024
1 parent 0c3b29e commit 404a5fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions whylabs_toolkit/monitor/models/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ 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
] = Field(None, description="A list of tags that are associated with the monitor.")
tags: Annotated[
Optional[List[str]],
Field(title="Tags", description="The corresponding segment tags.", max_items=10, pattern="[0-9a-zA-Z\\-_]+$"),
] = None
analyzerIds: Annotated[
List[str],
Field(
Expand Down

0 comments on commit 404a5fb

Please sign in to comment.