Skip to content

Commit

Permalink
Refine typing of fields in ExecuteToolPayload model
Browse files Browse the repository at this point in the history
  • Loading branch information
heisner-tillman committed Apr 2, 2024
1 parent 76a53d9 commit a59cff5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/galaxy/schema/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ConfigDict,
Field,
field_validator,
UUID4,
)

from galaxy.schema.fields import DecodedDatabaseIdField
Expand All @@ -25,12 +26,12 @@


class ExecuteToolPayload(Model):
tool_id: Optional[Any] = Field(
tool_id: Optional[str] = Field(
default=None,
title="Tool ID",
description="The ID of the tool to execute.",
)
tool_uuid: Optional[Any] = Field(
tool_uuid: Optional[UUID4] = Field(
default=None,
title="Tool UUID",
description="The UUID of the tool to execute.",
Expand Down

0 comments on commit a59cff5

Please sign in to comment.