Skip to content

Commit

Permalink
Add optional
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Feb 6, 2024
1 parent fb03c9a commit 2692a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wintertoo/models/too.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ToORequest(BaseModel):
title="Priority for target",
ge=0.0,
)
target_name: str | None = Field(
target_name: Optional[str] = Field(
title="Name of the target",
min_length=1,
max_length=MAX_TARGNAME_LEN,
Expand Down

0 comments on commit 2692a4e

Please sign in to comment.