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 bce2ebe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions whylabs_toolkit/monitor/models/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit bce2ebe

Please sign in to comment.